submission_id
stringlengths 10
10
| problem_id
stringlengths 6
6
| language
stringclasses 3
values | code
stringlengths 1
522k
| compiler_output
stringlengths 43
10.2k
|
|---|---|---|---|---|
s554432442
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i, j;
for(i=1; i<10; i++)
for(j=1; j<10; j++)
printf("%dx%d=%d\n", i, j, i*j);
return 0;
}
|
main.c: In function 'main':
main.c:4:1: error: stray '\343' in program
4 | <U+3000><U+3000>int i, j;
| ^~~~~~~~
main.c:4:3: error: stray '\343' in program
4 | <U+3000><U+3000>int i, j;
| ^~~~~~~~
|
s500924795
|
p00000
|
C
|
int i=1,j=1;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%d×%d=%d\n",i,j,i*j);
}
}
|
main.c:2:9: error: expected identifier or '(' before 'for'
2 | for(i=1;i<10;i++){
| ^~~
main.c:2:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
2 | for(i=1;i<10;i++){
| ^
main.c:2:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
2 | for(i=1;i<10;i++){
| ^~
|
s548706078
|
p00000
|
C
|
#include <map>
#include <set>
#include <queue>
#include <ctime>
#include <cmath>
#include <string>
#include <cstdio>
#include <vector>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
#define all(a) a.begin(),a.end()
#define clr(a) memset(a,0,sizeof(a))
#define fill(a,b) memset(a,b,sizeof(a))
#define pb push_back
#define mp make_pair
typedef long long LL;
typedef vector<int> VI;
typedef pair<int,int> PII;
typedef vector<pair<int,int> > VII;
const double eps = 1e-8;
const double pi = acos(-1.0);
char str[200007];
int s[200007];
bool check(int len)
{
bool ok=true;
if (len%2==0)
{
for (int i=0;i<len;i++)
if (s[i]!=0)
{
ok=false;
break;
}
return ok;
}
else
{
for (int i=0;i<len;i+=2)
if (s[i]!=0)
{
ok=false;
break;
}
if (ok)
{
for (int i=1;i<len;i+=2)
s[i/2]=s[i];
return check(len/2);
}
else
{
ok=true;
for (int i=1;i<len;i+=2)
if (s[i]!=0)
{
ok=false;
break;
}
if (ok)
{
for (int i=0;i<len-2;i+=2)
{
s[i/2]=s[i]^s[i+2];
return check(len/2);
}
}
else
return false;
}
}
}
int main(){
scanf("%d",&n);
getchar();
while (n--)
{
scanf("%s",str);
int len=strlen(str);
for (int i=0;i<len;i++)
s[i]=str[i]-'0';
printf(check());
}
return 0;
}
|
main.c:1:10: fatal error: map: No such file or directory
1 | #include <map>
| ^~~~~
compilation terminated.
|
s014416369
|
p00000
|
C
|
#include<stdio.h>
#include<iostream>
#include<cstring>
#include<queue>
using namespace std;
#define LL long long
const int kind =26;
struct node
{
node * fail;
node *next[kind];
int count,sz;
node()
{
fail=NULL;
sz=count =0;
for(int i=0;i<kind;i++)
next[i]=NULL;
}
};
char keyword[3001000];
char str[1100];
void insert(node *root,char *word,int x)
{
node *location=root;
int i=0,branch=0;
while(word[i])
{
branch=word[i]-'a';
if(location->next[branch]==NULL)
location->next[branch]=new node();
i++;
location=location->next[branch];
}
location->sz=i;
if(location->count==0) location->count=x;
else location->count=min(location->count,x);
}
void buid_fail(node * root)
{
queue<node *> q;
while(!q.empty())
q.pop();
root->fail=NULL;
int i=0;
q.push(root);
while(!q.empty())
{
node *temp=q.front();
q.pop();
node *p=NULL;
for(i=0;i<26;i++)
if(temp->next[i]!=NULL)
{
if(temp==root)
temp->next[i]->fail=root;
else
{
p=temp->fail;
while(p!=NULL)
{
if(p->next[i]!=NULL)
{
temp->next[i]->fail=p->next[i];
break;
}
p=p->fail;
}
if(p==NULL)
temp->next[i]->fail=root;
}
q.push(temp->next[i]);
}
}
}
LL dp[1009];
void AC_search(node * root,char * str)
{
int i=0,index,len=strlen(str);
node *p=root;
i=0;
// cout<<str<<" str"<<endl;
while(str[i])
{
// printf("%c\n",str[i]);
index=str[i]-'a';
while(p->next[index]==NULL && p!=root)
p=p->fail;
p=p->next[index];
p=(p==NULL) ? root : p;
node *temp=p;
while(temp!=root)
{
dp[i]=min(dp[i],temp->count + dp[i- temp->sz]);
temp=temp->fail;
}
// puts("...............");
i++;
}
}
#define inf 10000000000000000LL
int main()
{
freopen("1.in","r",stdin);
freopen("k1.out","w",stdout);
int T;
scanf("%d",&T);
while(T--)
{
gets(str);gets(str);
// puts(str);
node *root=new node();
int n;
scanf("%d",&n);
for(int i=0;i<n;i++)
{
gets(keyword);
int x;
scanf("%s%d",keyword,&x);
// puts(keyword);
insert(root,keyword,x);
}
// puts("*********");
buid_fail(root);
// puts("+++++++++++");
int m=strlen(str);
for(int i=0;i<m;i++) dp[i]=inf;
// puts("pppppppp");
AC_search(root,str);
// puts("========");
if(dp[m-1]<inf) printf("%I64d\n",dp[m-1]);
else puts("-1");
}
return 0;
}
/*
2
abcd
6
a 5
bc 10
cd 8
bcd 20
d 5
ab 7
ab
2
c 1
dd 1
*/
|
main.c:2:9: fatal error: iostream: No such file or directory
2 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s097996020
|
p00000
|
C
|
a
|
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
1 | a
| ^
|
s462633606
|
p00000
|
C
|
#include <algorithm>
#include <iostream>
#include <limits>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
const int N = 100;
const int L = 20;
const int INF = std::numeric_limits<int>::max();
#define FOR(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
std::string s, t;
int l, n;
std::string a[N], b[N];
std::set<char> charset;
std::vector<std::string> set[L + 1];
void insert(std::string & s) {
int n = s.size();
for (int i = 0; i < n; ++i) {
charset.insert(s[i]);
set[n - i].push_back(s.substr(i, n - i));
}
}
const int S = 202;
std::map<std::string, int> at;
int f[2][S][S];
void floyd(int n, int f[S][S]) {
for (int k = 0; k < n; ++k) {
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
if (f[i][k] != INF && f[k][j] != INF) {
f[i][j] = std::min(f[i][j], f[i][k] + f[k][j]);
}
}
}
}
}
int gao() {
int x = 0, y = 1;
for (int i = 1; i <= l; ++i, std::swap(x, y)) {
at.clear();
int cur = set[i].size();
for (int j = 0; j < cur; ++j) {
at[set[i][j]] = j;
std::fill(f[y][j], f[y][j] + cur, INF);
}
// FOR(it, at[y])
// {
// std::cout << it->first << " ";
// }
// std::cout << std::endl;
for (int j = 0; j < n; ++j) {
if ((int) a[j].size() == l) {
int u = at[a[j]];
int v = at[b[j]];
f[y][u][v] = 1;
}
}
int pre = set[i - 1].size();
for (int u = 0; u < pre; ++u) {
for (int v = 0; v < pre; ++v) {
FOR(it, charset)
{
std::string s1 = "" + *it + set[i - 1][u];
std::string s2 = "" + *it + set[i - 1][v];
if (at.count(s1) && at.count(s2)) {
int i1 = at[s1];
int i2 = at[s2];
f[y][i1][i2] = std::min(f[y][i1][i2], f[x][u][v]);
}
}
}
}
floyd(cur, f[y]);
}
return f[x][at[s]][at[t]];
}
int main() {
int test = 1;
while (std::cin >> s && s != ".") {
std::cin >> t >> n;
l = s.size();
charset.clear();
for (int i = 0; i <= l; ++i) {
set[i].clear();
}
insert(s);
insert(t);
for (int i = 0; i < n; ++i) {
std::cin >> a[i] >> b[i];
if ((int) a[i].size() > l) {
continue;
}
insert(a[i]);
insert(b[i]);
}
int ans = gao();
if (ans == INF) {
std::cout << "Case " << test++ << ": No solution" << std::endl;
} else {
std::cout << "Case " << test++ << ": " << ans << std::endl;
}
}
return 0;
}
|
main.c:1:10: fatal error: algorithm: No such file or directory
1 | #include <algorithm>
| ^~~~~~~~~~~
compilation terminated.
|
s917581411
|
p00000
|
C
|
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iterator>
#include <limits>
#include <vector>
typedef std::vector<int> VI;
#define PB push_back
#define FOR(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
const int N = (int) (1e5);
const int M = (int) (1e5);
const int INF = std::numeric_limits<int>::max();
int n, m, k, a[M], b[M], c[M];
int e, first[N], next[M * 2], to[M * 2], cost[M * 2], idx[M * 2];
bool set[N];
void init() {
e = 0;
std::fill(first, first + n, -1);
}
void add(int u, int v, int w, int i) {
to[e] = v, cost[e] = w, idx[e] = i, next[e] = first[u], first[u] = e++;
to[e] = u, cost[e] = w, idx[e] = i, next[e] = first[v], first[v] = e++;
}
int dis[N], q[N * 100];
bool mark[N];
VI pre[N];
int spfa(int s) {
std::fill(dis, dis + n, INF);
std::fill(mark, mark + n, false);
int st = 0, ed = 0;
dis[s] = 0, q[ed++] = s, mark[s] = true;
while (st != ed) {
int u = q[st++];
if (st == N) {
st = 0;
}
mark[u] = false;
for (int edge = first[u]; edge != -1; edge = next[edge]) {
int v = to[edge];
if (dis[v] > dis[u] + cost[edge]) {
dis[v] = dis[u] + cost[edge];
if (!mark[v]) {
q[ed++] = v, mark[v] = true;
if (ed == N) {
ed = 0;
}
}
}
}
}
int t = s, cur = 0;
for (int i = 0; i < n; ++i) {
if (set[i] && dis[i] > cur) {
t = i, cur = dis[i];
}
}
for (int i = 0; i < n; ++i) {
pre[i].clear();
}
for (int i = 0; i < m; ++i) {
if (dis[a[i]] + c[i] == dis[b[i]]) {
pre[b[i]].PB(i * 2);
}
if (dis[b[i]] + c[i] == dis[a[i]]) {
pre[a[i]].PB(i * 2 + 1);
}
}
return t;
}
int f[N], g[N];
int dfs(int u) {
if (f[u] != -1) {
return f[u];
}
FOR(i, pre[u])
{
int p = to[(*i) ^ 1];
int tmp = dfs(p);
if (f[u] < tmp) {
f[u] = tmp, g[u] = (*i);
}
}
f[u] += (set[u] ? 1 : 0);
return f[u];
}
VI find(int s, int t) {
std::fill(f, f + n, -1);
f[s] = 1;
dfs(t);
VI ans;
for (int u = t; u != s; u = to[g[u] ^ 1]) {
ans.PB(idx[g[u]]);
}
return ans;
}
int main() {
while (scanf("%d %d", &n, &m) == 2) {
init();
for (int i = 0, u, v, w; i < m; ++i) {
scanf("%d %d %d", &u, &v, &w);
add(u - 1, v - 1, w, i);
a[i] = u - 1, b[i] = v - 1, c[i] = w;
}
scanf("%d", &k);
memset(set, 0, sizeof(set));
int x = -1;
for (int i = 0, u; i < k; ++i) {
scanf("%d", &u);
set[u - 1] = true;
x = u - 1;
}
int s = spfa(x);
int t = spfa(s);
VI ans = find(s, t);
printf("%d\n", (int) ans.size());
for (int i = 0; i < (int) ans.size(); ++i) {
printf("%d%s", ans[i] + 1, i == (int) ans.size() - 1 ? "\n" : " ");
}
}
return 0;
}
|
main.c:1:10: fatal error: algorithm: No such file or directory
1 | #include <algorithm>
| ^~~~~~~~~~~
compilation terminated.
|
s581646809
|
p00000
|
C
|
#pragma comment(linker, "/STACK:102400000,102400000")
#include<iostream>
#include<cstring>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<vector>
#include<queue>
#define MOD 1000000007
#define pi acos(-1.0)
#define LL long long
#define N 200050
using namespace std;
struct node
{
int to, nx;
} e[N * 2];
struct node1
{
int x, y;
} s[N];
bool cmp(node1 x, node1 y)
{
return x.x < y.x || x.x == y.x && x.y < y.y;
}
int e_cnt;
int head[N];
int du[N];
int q[N];
int f[N][2];
int ff[N][2];
bool bo[N];
int pre[N];
int va[N];
void addedge(int x, int y)
{
e[e_cnt].to = y;
e[e_cnt].nx = head[x];
head[x] = e_cnt++;
}
int main()
{
int i, j, k, n, m, tail;
int tt, ri = 0;
int ans;
scanf("%d", &tt);
while (tt--)
{
ans = 0;
ri++;
tail = 0;
e_cnt = 0;
scanf("%d", &n);
for (i = 1; i <= n; i++)
head[i] = -1, du[i] = 0, bo[i] = false, pre[i] = -1;
for (i = 1; i <= n; i++)
{
s[i].x = i;
scanf("%d", &s[i].y);
du[i]++;
du[s[i].y]++;
if (s[i].x > s[i].y)
swap(s[i].x, s[i].y);
}
for (i = 1; i <= n; i++)
{
scanf("%d", &f[i][1]);
va[i]=f[i][1];
f[i][0] = 0;
}
sort(s + 1, s + 1 + n, cmp);
for (i = 1; i <= n; i++)
{
if (i == n || s[i].x != s[i + 1].x || s[i].y != s[i + 1].y)
{
addedge(s[i].x, s[i].y);
addedge(s[i].y, s[i].x);
}
}
for (i = 1; i <= n; i++)
if (du[i] == 1)
{
q[tail++] = i;
}
//printf("ta:%d\n", tail);
for (i = 0; i < tail; i++)
{
int u = q[i];
for (int p = head[u]; p != -1; p = e[p].nx)
{
int v = e[p].to;
// printf("u,v:%d %d\n", u, v);
du[v]--;
if (du[v] >= 1)
{
f[v][1] += f[u][0];
f[v][0] += f[u][1];
}
if (du[v] == 1)
{
q[tail++] = v;
}
}
}
for (i = 1; i <= n; i++)
ff[i][0] = f[i][0],ff[i][1]=f[i][1];
// for(i=1;i<=n;i++)
// {
// printf("f:%d %d %d %d\n",i,f[i][0],f[i][1],du[i]);
// }
//puts("ye");
for (i = 1; i <= n; i++)
{
if (du[i] > 1 && !bo[i])
{
int p = i, sum1, sum2;
int st, ed;
st = 1;
ed = 0;
sum1 = sum2 = 0;
int cnt = 0;
while (true)
{
cnt++;
bo[p] = true;
sum1=std::max(sum1,f[p][0]);
sum2=std::max(sum2,f[p][1]);
//printf("%d %d %d %d\n", i, p, sum1, sum2);
st = 1 - st;
ed = 1 - ed;
int flag = 0;
for (j = head[p]; j != -1; j = e[j].nx)
{
if (!bo[e[j].to] && du[e[j].to] > 1)
{
flag = 1;
pre[e[j].to] = p;
f[e[j].to][1] += f[p][0];
f[e[j].to][0] +=std::max( f[p][1],f[p][0]);
p = e[j].to;
break;
}
}
if (!flag)
{
pre[i] = p;
break;
}
}
if (cnt & 1)
{
int tmp = f[pre[i]][0];
p = i;
bool ok = true;
ff[i][1]=0;
while (p != i || ok)
{
ok = false;
int u = pre[p];
ff[u][0] +=std::max( ff[p][1],ff[p][0]);
ff[u][1] += ff[p][0];
//printf("%d %d %d %d %d\n", i, p,u, ff[u][0], ff[u][1]);
p = pre[p];
if(pre[p]==i)break;
}
p = pre[i];
//printf("%d\n",i);
ok=true;
int kk=1;
while (p != pre[i] || ok)
{
if(p==pre[i])
ok = false;
if (ff[p][0] + f[pre[p]][0]+va[i] > tmp)
tmp = ff[p][0] + f[pre[p]][0];
kk=1-kk;
//printf("%d %d %d %d\n",p,ff[p][0],pre[p],f[pre[p]][0]);
p = pre[p];
//if(p==i)break;
}
// printf("%d %d %d\n",i,tmp,ans);
ans += tmp;
}
else
ans += std::max(sum1, sum2);
//printf("ans:%d\n",ans);
}
}
printf("Case #%d:\n", ri);
printf("%d\n", ans);
}
}
|
main.c:2:9: fatal error: iostream: No such file or directory
2 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s563238026
|
p00000
|
C
|
File Edit Options Buffers Tools C Help
#include<stdio.h>
int main (void) {
int n=1;
int m=1;
for (n=1;n<10;n++)
{
for (m=1;m<10;m++)
{
printf ("%d*%d=%d\n",n,m,n*m);
}
}
return 0;
}
|
main.c:1:1: error: unknown type name 'File'
1 | File Edit Options Buffers Tools C Help
| ^~~~
main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Options'
1 | File Edit Options Buffers Tools C Help
| ^~~~~~~
main.c:1:11: error: unknown type name 'Options'
In file included from /usr/include/stdio.h:47,
from main.c:2:
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:28:43: error: unknown type name 'size_t'
28 | size_t __nbytes);
| ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:1:1: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
+++ |+#include <stddef.h>
1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc.
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:37:44: error: unknown type name 'size_t'
37 | size_t __nbytes);
| ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:37:44: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:57:3: error: unknown type name 'cookie_read_function_t'; did you mean 'cookie_seek_function_t'?
57 | cookie_read_function_t *read; /* Read bytes. */
| ^~~~~~~~~~~~~~~~~~~~~~
| cookie_seek_function_t
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:58:3: error: unknown type name 'cookie_write_function_t'; did you mean 'cookie_close_function_t'?
58 | cookie_write_function_t *write; /* Write bytes. */
| ^~~~~~~~~~~~~~~~~~~~~~~
| cookie_close_function_t
/usr/include/stdio.h:314:35: error: unknown type name 'size_t'
314 | extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
| ^~~~~~
/usr/include/stdio.h:130:1: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
129 | #include <bits/stdio_lim.h>
+++ |+#include <stddef.h>
130 |
/usr/include/stdio.h:320:47: error: unknown type name 'size_t'
320 | extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW
| ^~~~~~
/usr/include/stdio.h:320:47: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:340:34: error: unknown type name 'size_t'
340 | int __modes, size_t __n) __THROW __nonnull ((1));
| ^~~~~~
/usr/include/stdio.h:340:34: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:346:24: error: unknown type name 'size_t'
346 | size_t __size) __THROW __nonnull ((1));
| ^~~~~~
/usr/include/stdio.h:346:24: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:385:44: error: unknown type name 'size_t'
385 | extern int snprintf (char *__restrict __s, size_t __maxlen,
| ^~~~~~
/usr/include/stdio.h:385:44: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:389:45: error: unknown type name 'size_t'
389 | extern int vsnprintf (char *__restrict __s, size_t __maxlen,
| ^~~~~~
/usr/include/stdio.h:389:45: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:690:30: error: unknown type name 'size_t'
690 | size_t *__restrict __n, int __delimiter,
| ^~~~~~
/usr/include/stdio.h:690:30: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:693:28: error: unknown type name 'size_t'
693 | size_t *__restrict __n, int __delimiter,
| ^~~~~~
/usr/include/stdio.h:693:28: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:698:27: error: unknown type name 'size_t'
698 | size_t *__restrict __n,
| ^~~~~~
/usr/include/stdio.h:698:27: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:728:8: error: unknown type name 'size_t'
728 | extern size_t fread (void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:728:8: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:728:46: error: unknown type name 'size_t'
728 | extern size_t fread (void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:728:46: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:729:22: error: unknown type name 'size_t'
729 | size_t __n, FILE *__restrict __stream) __wur
| ^~~~~~
/usr/include/stdio.h:729:22: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:735:8: error: unknown type name 'size_t'
735 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:735:8: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:735:53: error: unknown type name 'size_t'
735 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:735:53: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:736:23: error: unknown type name 'size_t'
736 | size_t __n, FILE *__restrict __s) __nonnull((4));
| ^~~~~~
/usr/include/stdio.h:736:23: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:756:8: error: unknown type name 'size_t'
756 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:756:8: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:756:55: error: unknown type name 'size_t'
756 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:756:55: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:757:31: error: unknown type name 'size_t'
757 | size_t __n, FILE *__restrict __stream) __wur
| ^~~~~~
/usr/include/stdio.h:757:31: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:759:8: error: unknown type name 'size_t'
759 | extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:759:8: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:759:62: error: unknown type name 'size_t'
759 | extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
| ^~~~~~
/usr/include/stdio.h:759:62: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
/usr/include/stdio.h:760:32: error: unknown type name 'size_t'
760 | size_t __n, FILE *__restrict __stream)
| ^~~~~~
/usr/include/stdio.h:760:32: note: 'size_t' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
|
s398599081
|
p00000
|
C
|
#include<stdio.h>
main(){
int i,j,k;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
pintf("%d×%d=%d\n",i,j,i*j);
}
}
return 0;
}
|
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
2 | main(){
| ^~~~
main.c: In function 'main':
main.c:6:7: error: implicit declaration of function 'pintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
6 | pintf("%d×%d=%d\n",i,j,i*j);
| ^~~~~
| printf
|
s674712152
|
p00000
|
C++
|
import java.util.Scanner;
public class B {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n=0, m=0, t=0, p=0;
while(true){
n = sc.nextInt();
m = sc.nextInt();
t = sc.nextInt();
p = sc.nextInt();
if(n==0 && m==0 && t==0 && p==0) break;
int[][] paper = new int[n][m];
for(int i=0 ; i< n ; i++){
for(int j=0 ; j<m ;j++){
paper[i][j] = 1;
}
}
for(int k=0 ; k<t ; k++){
int d = sc.nextInt();
int c = sc.nextInt();
if(d==1){
for(int i=0 ; i< n ; i++){
for(int j=0 ; j<c ;j++){
paper[i][j] *= 2;
}
}
m -= c;
}else {
for(int i=0 ; i< c ; i++){
for(int j=0 ; j<m ;j++){
paper[i][j] *= 2;
}
}
n -= c;
}
}
for(int i=0 ; i<p ; i++){
}
}
}
}
|
a.cc:1:1: error: 'import' does not name a type
1 | import java.util.Scanner;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
3 | public class B {
| ^~~~~~
|
s144284667
|
p00000
|
C++
|
#include <iostream>
int main() {
for( int i = 1 ; i <= 9 ; i++ ) {
for( int ii = 1 : ii <= 9 ; ii++ ) {
std::cout << i << "x" << ii << "=" << i * ii << std::endl ;
}
}
}
|
a.cc: In function 'int main()':
a.cc:5:21: error: initializer in range-based 'for' loop
5 | for( int ii = 1 : ii <= 9 ; ii++ ) {
| ^
a.cc:5:34: error: expected ')' before ';' token
5 | for( int ii = 1 : ii <= 9 ; ii++ ) {
| ~ ^~
| )
a.cc:5:37: error: 'ii' was not declared in this scope; did you mean 'i'?
5 | for( int ii = 1 : ii <= 9 ; ii++ ) {
| ^~
| i
|
s455971659
|
p00000
|
C++
|
#include<iostream>
using namsepace std;
int main(){
int a;
cin >> a;
cout << a;
}
|
a.cc:2:7: error: expected nested-name-specifier before 'namsepace'
2 | using namsepace std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin >> a;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | cout << a;
| ^~~~
| std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
|
s007313130
|
p00000
|
C++
|
#include "pch.h"
#include <iostream>
using namespace std;
int main()
{
for (int i = 1; i <= 9; i++)
{
for (int j = 1; j <= 9; j++)
{
cout << i << "x" << j << "=" << i * j << endl;
}
}
return 0;
}
|
a.cc:1:10: fatal error: pch.h: No such file or directory
1 | #include "pch.h"
| ^~~~~~~
compilation terminated.
|
s686028167
|
p00000
|
C++
|
#include <iostream>
int main() {
for (int i=1; i<=9; ++i)
for (int j=1; j<=9; ++j)
std:cout << i << "x" << j << "=" << i*j << std::endl;
return 0;
}
|
a.cc: In function 'int main()':
a.cc:6:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | std:cout << i << "x" << j << "=" << i*j << std::endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
|
s584097913
|
p00000
|
C++
|
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
int sintyoku = 0;
/*ICPCにでたい人生だった*/
for(int i = 0;i < 114514:i++){
sintyoku--;
}
/*今日はラーメン食べたいなあ*/
for(int i = 1;i < 10;i++){
for(int j = 1;j < 10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:8:15: warning: range-based 'for' loops with initializer only available with '-std=c++20' or '-std=gnu++20' [-Wc++20-extensions]
8 | for(int i = 0;i < 114514:i++){
| ^
a.cc:8:25: error: expected ';' before ':' token
8 | for(int i = 0;i < 114514:i++){
| ^
| ;
a.cc:12:3: error: expected primary-expression before 'for'
12 | for(int i = 1;i < 10;i++){
| ^~~
a.cc:10:2: error: expected ';' before 'for'
10 | }
| ^
| ;
11 | /*今日はラーメン食べたいなあ*/
12 | for(int i = 1;i < 10;i++){
| ~~~
a.cc:12:3: error: expected primary-expression before 'for'
12 | for(int i = 1;i < 10;i++){
| ^~~
a.cc:10:2: error: expected ')' before 'for'
10 | }
| ^
| )
11 | /*今日はラーメン食べたいなあ*/
12 | for(int i = 1;i < 10;i++){
| ~~~
a.cc:8:4: note: to match this '('
8 | for(int i = 0;i < 114514:i++){
| ^
|
s525559094
|
p00000
|
C++
|
import java.util.ArrayList;
public class Main {
public static void main(String args[]){
ArrayList<Integer> a=new ArrayList();
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
System.out.printf("%dx%d=%d\n",i,j,i*j);
}
}
}
}
|
a.cc:1:1: error: 'import' does not name a type
1 | import java.util.ArrayList;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main {
| ^~~~~~
|
s664558831
|
p00000
|
C++
|
import java.util.*;
public class Main{
public static void main(String args[]){
ArrayList[] a;
a=new ArrayList[10];
a[1]=new ArrayList<Integer>();
//a[1].add(3);
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
System.out.printf("%dx%d=%d\n",i,j,i*j);
}
}
}
}
|
a.cc:1:1: error: 'import' does not name a type
1 | import java.util.*;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s559958925
|
p00000
|
C++
|
import java.util.*;
public class Main{
public static void main(String args[]){
ArrayList[] a;
a=new ArrayList[10];
a[1]=new ArrayList<Integer>();
//a[1].add(3);
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
System.out.printf("%dx%d=%d\n",i,j,i*j);
}
}
}
}
|
a.cc:1:1: error: 'import' does not name a type
1 | import java.util.*;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s018422509
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main()
{
for(int i=1; i<=8; i++){
cout << i << "x" << i << "=" << i * i << endl;
return 0;
}
|
a.cc: In function 'int main()':
a.cc:8:2: error: expected '}' at end of input
8 | }
| ^
a.cc:4:1: note: to match this '{'
4 | {
| ^
|
s428253795
|
p00000
|
C++
|
http://blog.sina.com.cn/s/blog_6bddecdc0102uzo5.html
|
a.cc:1:1: error: 'http' does not name a type
1 | http://blog.sina.com.cn/s/blog_6bddecdc0102uzo5.html
| ^~~~
|
s293191555
|
p00000
|
C++
|
#include <cstdio>
#include<algorithm>
#include<cstring>
#include<set>
struct oper
{
int val,t,op;
oper(){}
oper(int val,int t,int op){val(val),t(t),op(op)}
bool operator<(const oper& rhs) const
{
return t<rhs.t;
}
}Oper[50010],peak[50010];
using namespace std;
char buf[30];
int main()
{
freopen("data.in","r",stdin);
int kase=0,n,val,t;
while(~scanf("%d",&n)&&n)
{
S.clear();
S2.clear();
++kase;
int cnt=0;
printf("Case #%d:\n",kase);
for(int i=1;i<=n;i++)
{
scanf("%s",buf);
if(strcmp(buf,"push")==0)
{
scanf("%d%d",&val,&t);
Oper[i]=oper(val,t,1);
}
else if(strcmp(buf,"pop")==0)
{
scanf("%d",&t);
Oper[i]=oper(0,t,2);
}
else if(strcmp(buf,"peak")==0)
{
scanf("%d",&t);
Oper[i]=oper(0,t,3);
}
}
}
return 0;
}
/*謌台シ壽ウィ驥贋サ」遐∽ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???菴??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴??滉ス??荳肴???*/
|
a.cc: In constructor 'oper::oper(int, int, int)':
a.cc:9:35: error: 'val' cannot be used as a function
9 | oper(int val,int t,int op){val(val),t(t),op(op)}
| ~~~^~~~~
a.cc:9:42: error: 't' cannot be used as a function
9 | oper(int val,int t,int op){val(val),t(t),op(op)}
| ~^~~
a.cc:9:48: error: 'op' cannot be used as a function
9 | oper(int val,int t,int op){val(val),t(t),op(op)}
| ~~^~~~
a.cc: In function 'int main()':
a.cc:23:9: error: 'S' was not declared in this scope
23 | S.clear();
| ^
a.cc:24:9: error: 'S2' was not declared in this scope
24 | S2.clear();
| ^~
|
s726082266
|
p00000
|
C++
|
#include<stdio.h>
#include<iostream.h>
int main()
{
int a,i,j;
for(i=1;i<=9;i++)
{
for(j=1;j<=9;j++)
{
cout<<i<<"*"<<j<<"="<<i*j<<endl;
}
}
return 0;
}
|
a.cc:2:9: fatal error: iostream.h: No such file or directory
2 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s371352714
|
p00000
|
C++
|
#include<iostream>
int main(){
int i,j;
for(i=1;i<10;i++)for(j=1;j<10;j++)cout<<i<<"x"<<j<<"="<<i*j<<endl;
return 0;
}
|
a.cc: In function 'int main()':
a.cc:5:35: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
5 | for(i=1;i<10;i++)for(j=1;j<10;j++)cout<<i<<"x"<<j<<"="<<i*j<<endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
a.cc:5:62: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
5 | for(i=1;i<10;i++)for(j=1;j<10;j++)cout<<i<<"x"<<j<<"="<<i*j<<endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
744 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
|
s963750494
|
p00000
|
C++
|
void tran( double ax ,double ay ,double az ,double x ,double y ,double z ,double xt ,double yt ,double zt ){
double sinx ,siny ,sinz ,cosx ,cosy ,cosz ;
xt = x * ( cosy * cosz - sinx * siny * sinz )
- y * cosx * sinz
+ z * ( siny * cosz + sinx * cosy * sinz ) ;
yt = x * ( cosy * sinz + sinx * siny * cosz )
+ y * cosx * cosz
+ z * ( siny * sinz - sinx * cosy * cosz ) ;
zt = x * ( -cosx * siny )
+ y * sinx
+ z * cosx * cosy ;
return ;
}
|
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
|
s040639901
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
for(int i=1, i<10, i++){
for(int k=1, k<10, k++){
cout<<i<<"x"<<k<<"="<<i*k;
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:5:18: error: expected ';' before '<' token
5 | for(int i=1, i<10, i++){
| ^
| ;
a.cc:5:18: error: expected primary-expression before '<' token
a.cc:5:26: error: expected ';' before ')' token
5 | for(int i=1, i<10, i++){
| ^
| ;
a.cc:6:20: error: expected ';' before '<' token
6 | for(int k=1, k<10, k++){
| ^
| ;
a.cc:6:20: error: expected primary-expression before '<' token
a.cc:6:28: error: expected ';' before ')' token
6 | for(int k=1, k<10, k++){
| ^
| ;
|
s066625572
|
p00000
|
C++
|
#include <iostream>
#define loop(i,a,b) for(int i=(a); i<int(b); i++)
#define rep(i,b) loop(i,0,b)
int main(){
loop(i,1,10)loop(j,1,10){
printf("%dx%d=%d",i,j,i*j);
int x
}
}
|
a.cc: In function 'int main()':
a.cc:11:5: error: expected initializer before '}' token
11 | }
| ^
|
s703923333
|
p00000
|
C++
|
int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
int top,scc,cnt;
void tarjan_dfs(int cur)
{
dfn[cur] = low[cur] = ++cnt;
st[++top] = cur;
instack[cur] = 1;
for(int i = g[cur]; i ;i = edge[i].nxt){
int v = edge[i].v;
if( !instack[v] ){
tarjan_dfs(v);
low[cur] = min(low[cur],low[v]);
}
else if( instack[v] == 1 )
low[cur] = min(low[cur],dfn[v]);
}
if( low[cur] == dfn[cur] ){
++scc;
for(;;){
int tmp = st[top];
top--;
cor[tmp] = scc;
cor_tot[scc]++;
instack[tmp] = 2;
if( tmp == cur )
break;
}
}
}
void tarjan()
{
memset(instack,0,sizeof(instack));
memset(cor_tot,0,sizeof(cor_tot));
scc = cnt = 0;
top = 0;
for(int i = 1;i <= n;i++)
if( !instack[i] )
tarjan_dfs(i);
}
|
a.cc:1:9: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:19: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:29: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:43: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:52: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc: In function 'void tarjan_dfs(int)':
a.cc:5:5: error: 'dfn' was not declared in this scope
5 | dfn[cur] = low[cur] = ++cnt;
| ^~~
a.cc:5:16: error: 'low' was not declared in this scope
5 | dfn[cur] = low[cur] = ++cnt;
| ^~~
a.cc:6:5: error: 'st' was not declared in this scope; did you mean 'std'?
6 | st[++top] = cur;
| ^~
| std
a.cc:7:5: error: 'instack' was not declared in this scope
7 | instack[cur] = 1;
| ^~~~~~~
a.cc:8:17: error: 'g' was not declared in this scope
8 | for(int i = g[cur]; i ;i = edge[i].nxt){
| ^
a.cc:8:32: error: 'edge' was not declared in this scope
8 | for(int i = g[cur]; i ;i = edge[i].nxt){
| ^~~~
a.cc:12:24: error: 'min' was not declared in this scope
12 | low[cur] = min(low[cur],low[v]);
| ^~~
a.cc:15:24: error: 'min' was not declared in this scope
15 | low[cur] = min(low[cur],dfn[v]);
| ^~~
a.cc:22:13: error: 'cor' was not declared in this scope; did you mean 'cur'?
22 | cor[tmp] = scc;
| ^~~
| cur
a.cc:23:13: error: 'cor_tot' was not declared in this scope
23 | cor_tot[scc]++;
| ^~~~~~~
a.cc: In function 'void tarjan()':
a.cc:32:12: error: 'instack' was not declared in this scope
32 | memset(instack,0,sizeof(instack));
| ^~~~~~~
a.cc:32:5: error: 'memset' was not declared in this scope
32 | memset(instack,0,sizeof(instack));
| ^~~~~~
a.cc:1:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
+++ |+#include <cstring>
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
a.cc:33:12: error: 'cor_tot' was not declared in this scope
33 | memset(cor_tot,0,sizeof(cor_tot));
| ^~~~~~~
a.cc:36:24: error: 'n' was not declared in this scope
36 | for(int i = 1;i <= n;i++)
| ^
|
s121308957
|
p00000
|
C++
|
#include <stdio.h>
using namespace std;
int main() {
for (int i = 1; i < 10; i++)
for (int j = 1; j < 10; j++)
cout << i << "x" << j << "=" << i*j << endl;
}
|
a.cc: In function 'int main()':
a.cc:7:25: error: 'cout' was not declared in this scope
7 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
a.cc:2:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
1 | #include <stdio.h>
+++ |+#include <iostream>
2 | using namespace std;
a.cc:7:64: error: 'endl' was not declared in this scope
7 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
1 | #include <stdio.h>
+++ |+#include <ostream>
2 | using namespace std;
|
s418229451
|
p00000
|
C++
|
#include <cstdio>
#include <cstring>
#define N 111111
int cc[N],sa[N],h[N],rank[N],wa[N],ws[N],wb[N],wv[N],n;
char c[N];
bool cmp(int *r, int a, int b, int l){
return r[a] == r[b] && r[a + l] == r[b + l];
}
void da(int *r, int *sa, int n, int m){//*r:蜴滉クイ *sa:蜷守シ?焚扈?シ茎a[0]荳コ遨コ荳イ(sa[0] = n - 1) n:諤サ髟ソ m:蟄礼ャヲ闌?峩
int i, j, p, *x = wa, *y = wb, *t;
memset(ws, 0, sizeof ws);
for (i = 0; i < n; i ++ ) ws[x[i] = r[i]] ++ ;
for (i = 1; i < m; i ++ ) ws[i] += ws[i - 1];
for (i = n - 1; i >= 0; i -- ) sa[ -- ws[x[i]]] = i;
for (j = 1, p = 1; p < n; j *= 2, m = p){
for (p = 0, i = n - j; i < n; i ++ ) y[p ++ ] = i;
for (i = 0; i < n; i ++ ) if (sa[i] >= j) y[p ++ ] = sa[i] - j;
for (i = 0; i < n; i ++ ) wv[i] = x[y[i]];
memset(ws, 0, sizeof ws);
for (i = 0; i < n; i ++ ) ws[wv[i]] ++ ;
for (i = 1; i < m; i ++ ) ws[i] += ws[i - 1];
for (i = n - 1; i >= 0; i -- ) sa[ -- ws[wv[i]]] = y[i];
for (t = x, x = y, y = t, p = 1, i = 1, x[sa[0]] = 0; i < n; i ++ )
x[sa[i]] = cmp(y, sa[i], sa[i - 1], j) ? p - 1 : p ++ ;
}
return;
}
void gua(int *r, int *sa, int n){//rank:謗貞錐 h:height謨ー扈? int i, j, k = 0;
for (i = 1; i <= n; i ++ ) rank[sa[i]] = i;
for (i = 0; i < n; h[rank[i ++ ]] = k)
for (k ? k -- : 0, j = sa[rank[i] - 1]; r[i + k] == r[j + k]; k ++ );
return;
}
int main(){
scanf("%s", c);
n = strlen(c);
c[n ++ ] = 0;//譛ォ蟆セ髴?刈荳頑欠遉コ隨ヲ/000;
for (int i = 0; i < n; i ++ ) cc[i] = c[i];
da(cc, sa, n, 127);
gua(cc, sa, -- n);//n髴?△螟榊次髟ソ?敬[i]荳コsa[i]蜥茎a[i - 1]蜈ャ蜈ア髟ソ蠎ヲ?茎a[0]荳コ譛ォ蟆セ遨コ荳イ
for (int i = 0; i <= n; i ++ ) printf("%d ",sa[i]);
}
|
a.cc: In function 'void gua(int*, int*, int)':
a.cc:29:14: error: 'i' was not declared in this scope
29 | for (i = 1; i <= n; i ++ ) rank[sa[i]] = i;
| ^
a.cc:30:14: error: 'i' was not declared in this scope
30 | for (i = 0; i < n; h[rank[i ++ ]] = k)
| ^
a.cc:30:45: error: 'k' was not declared in this scope
30 | for (i = 0; i < n; h[rank[i ++ ]] = k)
| ^
a.cc:31:36: error: 'j' was not declared in this scope
31 | for (k ? k -- : 0, j = sa[rank[i] - 1]; r[i + k] == r[j + k]; k ++ );
| ^
|
s456604878
|
p00000
|
C++
|
#include <iostream>
int main() {
for (int i = 1; i < 10; ++i)
for (int i = 1; i < 10; ++j)
std::printf("%dx%d=%d", i, j, i*j);
return 0;
}
|
a.cc: In function 'int main()':
a.cc:5:35: error: 'j' was not declared in this scope
5 | for (int i = 1; i < 10; ++j)
| ^
|
s688305026
|
p00000
|
C++
|
main(i,j){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);}
|
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
1 | main(i,j){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);}
| ^
|
s209372114
|
p00000
|
C++
|
i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^
a.cc:1:5: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^~~~
a.cc: In function 'int main()':
a.cc:1:16: error: 'i' was not declared in this scope
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^
a.cc:1:33: error: 'j' was not declared in this scope
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^
a.cc:1:42: error: 'printf' was not declared in this scope
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
+++ |+#include <cstdio>
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
a.cc:1:74: error: 'i' was not declared in this scope
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^
|
s035597333
|
p00000
|
C++
|
#include <iostream>
int main(){
for (int i =1;i<10;i++){
for (int j = 1;j<10;j++){
cout << i << "x" << j << "=" << i*j << endl;
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:5:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
5 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
a.cc:5:52: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
5 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
744 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
|
s847019212
|
p00000
|
C++
|
#include <iostream>
using namespace std;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
for (int i = 1; i <= 9; i++){
for(int j = 1; j <=9; j++{
cout << i << "x" << j << "=" << i*j << "\n";
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:9:42: error: expected ')' before '{' token
9 | for(int j = 1; j <=9; j++{
| ~ ^
| )
|
s213309710
|
p00000
|
C++
|
#include<iostream>
using namespace std;
void main()
{
for(int i=1;i<10;i++)
cout<<i<<"x"<<i<<"="<<i*i<<endl;
}
|
a.cc:3:1: error: '::main' must return 'int'
3 | void main()
| ^~~~
|
s852131649
|
p00000
|
C++
|
//include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>
#include <fstream>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;
//conversion
//------------------------------------------
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();}
//math
//-------------------------------------------
template<class T> inline T sqr(T x) {return x*x;}
//typedef
//------------------------------------------
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef pair<long, long> PLL;
typedef long long LL;
typedef boost::multiprecision::cpp_int bigint;
//container util
//------------------------------------------
#define ALL(a) (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
//repetition
//------------------------------------------
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
//constant
//--------------------------------------------
const double EPS = 1e-10;
const double PI = acos(-1.0);
//clear memory
#define CLR(a) memset((a), 0 ,sizeof(a))
typedef boost::multiprecision::cpp_int bigint;
int main(){
FOR(i,1,10)FOR(j,1,10){
cout<<i<<"x"<<j<<"="<<i*j<<endl;
}
return 0;
}
|
a.cc:25:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
25 | #include <boost/multiprecision/cpp_int.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
|
s414016313
|
p00000
|
C++
|
i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;}
| ^
|
s126584934
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
for(int 1 = 1;i<=9;i++)
{
for(int j=1;j<=0;j++)
{
cout << i << "x" << j << "=" << i*j;
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:5:17: error: expected unqualified-id before numeric constant
5 | for(int 1 = 1;i<=9;i++)
| ^
a.cc:5:16: error: expected ';' before numeric constant
5 | for(int 1 = 1;i<=9;i++)
| ^~
| ;
a.cc:5:17: error: lvalue required as left operand of assignment
5 | for(int 1 = 1;i<=9;i++)
| ^
a.cc:5:23: error: 'i' was not declared in this scope
5 | for(int 1 = 1;i<=9;i++)
| ^
a.cc:5:27: error: expected ')' before ';' token
5 | for(int 1 = 1;i<=9;i++)
| ~ ^
| )
a.cc:5:28: error: 'i' was not declared in this scope
5 | for(int 1 = 1;i<=9;i++)
| ^
|
s083183679
|
p00000
|
C++
|
for i in 1..9 do
for j in 1..9 do
puts '%dx%d=%d' %[i,j,i*j]
end
end
|
a.cc:1:10: error: too many decimal points in number
1 | for i in 1..9 do
| ^~~~
a.cc:2:10: error: too many decimal points in number
2 | for j in 1..9 do
| ^~~~
a.cc:3:6: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
3 | puts '%dx%d=%d' %[i,j,i*j]
| ^~~~~~~~~~
a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in 1..9 do
| ^~~
|
s924961001
|
p00000
|
C++
|
while( cin >> a >> b )
|
a.cc:1:1: error: expected unqualified-id before 'while'
1 | while( cin >> a >> b )
| ^~~~~
|
s575317107
|
p00000
|
C++
|
#include<stdio.h>
#define FOR( i,a ) for( i = 0;i < a;i++ )
int main(){
int i = 0,j = 0;
FOR( i,10 ){ FOR( j,10 ){ printf( "%dx%d=%d",i,j,i*j ); }}
return 0;
}
|
a.cc:4:1: error: extended character is not valid in an identifier
4 | int i = 0,j = 0;
| ^
a.cc: In function 'int main()':
a.cc:4:1: error: '\U00003000int' was not declared in this scope
4 | int i = 0,j = 0;
| ^~~~~
a.cc:5:10: error: 'i' was not declared in this scope
5 | FOR( i,10 ){ FOR( j,10 ){ printf( "%dx%d=%d",i,j,i*j ); }}
| ^
a.cc:2:25: note: in definition of macro 'FOR'
2 | #define FOR( i,a ) for( i = 0;i < a;i++ )
| ^
a.cc:5:23: error: 'j' was not declared in this scope
5 | FOR( i,10 ){ FOR( j,10 ){ printf( "%dx%d=%d",i,j,i*j ); }}
| ^
a.cc:2:25: note: in definition of macro 'FOR'
2 | #define FOR( i,a ) for( i = 0;i < a;i++ )
| ^
|
s251774060
|
p00000
|
C++
|
i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));}
|
a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));}
| ^
|
s798691558
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main () {
for(i=1;i<=9;i++) {
for(j=1;j<=9;j++)
cout << i << "x" << j<< "=" << i*j << endl;
}
}
|
a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
5 | for(i=1;i<=9;i++) {
| ^
a.cc:6:13: error: 'j' was not declared in this scope
6 | for(j=1;j<=9;j++)
| ^
|
s855655028
|
p00000
|
C++
|
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
|
|
s530647794
|
p00000
|
C++
|
i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
|
s109365266
|
p00000
|
C++
|
i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~
a.cc: In function 'int main()':
a.cc:1:18: error: 'i' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:29: error: 'j' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:39: error: 'printf' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
+++ |+#include <cstdio>
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
s659414930
|
p00000
|
C++
|
i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~
a.cc: In function 'int main()':
a.cc:1:18: error: 'i' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:29: error: 'j' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:39: error: 'printf' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
+++ |+#include <cstdio>
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
s369974159
|
p00000
|
C++
|
i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~
a.cc: In function 'int main()':
a.cc:1:18: error: 'i' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:29: error: 'j' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:39: error: 'printf' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
+++ |+#include <cstdio>
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
s348937425
|
p00000
|
C++
|
i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~
a.cc: In function 'int main()':
a.cc:1:18: error: 'i' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:29: error: 'j' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:39: error: 'printf' was not declared in this scope
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
+++ |+#include <cstdio>
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
|
s198587958
|
p00000
|
C++
|
null
|
a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s683640035
|
p00000
|
C++
|
null
|
a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s874667063
|
p00000
|
C++
|
null
|
a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s861178485
|
p00000
|
C++
|
i = range(1,10)
for i in ['%dx%d=%d' % (x,y,x*y) for x in i for y in i]:
print i
|
a.cc:2:12: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
2 | for i in ['%dx%d=%d' % (x,y,x*y) for x in i for y in i]:
| ^~~~~~~~~~
a.cc:1:1: error: 'i' does not name a type
1 | i = range(1,10)
| ^
|
s660545406
|
p00000
|
C++
|
# AOJ 0000
for x in range(1,10):
for y in range(1,10):
print str(x)+"x"+str(y)+"="+str(x*y)
|
a.cc:1:3: error: invalid preprocessing directive #AOJ
1 | # AOJ 0000
| ^~~
a.cc:3:1: error: expected unqualified-id before 'for'
3 | for x in range(1,10):
| ^~~
|
s976379869
|
p00000
|
C++
|
#include <cstring>
using namespace std;
char s[1234 << 20];
int main(){
memset(s, 0, sizeof s);
puts("hoge");
}
|
a.cc: In function 'int main()':
a.cc:8:9: error: 'puts' was not declared in this scope
8 | puts("hoge");
| ^~~~
|
s485613468
|
p00000
|
C++
|
for i in 1..9
for j in 1..9
print(i,"x",j,"=",i * j,"\n");
end
end
|
a.cc:1:10: error: too many decimal points in number
1 | for i in 1..9
| ^~~~
a.cc:2:18: error: too many decimal points in number
2 | for j in 1..9
| ^~~~
a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in 1..9
| ^~~
a.cc:4:9: error: 'end' does not name a type
4 | end
| ^~~
|
s957340181
|
p00000
|
C++
|
#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<functional>
#include<queue>
#include<utility>
#include<cstdlib>
#include<ctime>
#include<utility>
using namespace std;
#define INF (1<<29)
#include <nmmintrin.h>
int main(){
cout<<_mm_popcnt_u32(5315648)<<endl;
cout<<_mm_popcnt_u64(1864886968)<<endl;
return 0;
}
|
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/smmintrin.h:812,
from /usr/lib/gcc/x86_64-linux-gnu/14/include/nmmintrin.h:31,
from a.cc:13:
/usr/lib/gcc/x86_64-linux-gnu/14/include/popcntintrin.h: In function 'int main()':
/usr/lib/gcc/x86_64-linux-gnu/14/include/popcntintrin.h:42:1: error: inlining failed in call to 'always_inline' 'long long int _mm_popcnt_u64(long long unsigned int)': target specific option mismatch
42 | _mm_popcnt_u64 (unsigned long long __X)
| ^~~~~~~~~~~~~~
a.cc:19:36: note: called from here
19 | cout<<_mm_popcnt_u64(1864886968)<<endl;
| ^
/usr/lib/gcc/x86_64-linux-gnu/14/include/popcntintrin.h:35:1: error: inlining failed in call to 'always_inline' 'int _mm_popcnt_u32(unsigned int)': target specific option mismatch
35 | _mm_popcnt_u32 (unsigned int __X)
| ^~~~~~~~~~~~~~
a.cc:18:33: note: called from here
18 | cout<<_mm_popcnt_u32(5315648)<<endl;
| ^
|
s051070270
|
p00000
|
C++
|
#include
|
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include
| ^
|
s363965998
|
p00000
|
C++
|
sa
|
a.cc:1:1: error: 'sa' does not name a type
1 | sa
| ^~
|
s907624851
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
int f,s,;
for(f=1;f++;f<10){
for(s=1;s++;s<10){
cout<<f<<"x"<<s<<"="<<f*s<<endl;
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:6:9: error: expected unqualified-id before ';' token
6 | int f,s,;
| ^
|
s964187820
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s415452555
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s166422302
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s853447248
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s646413178
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s968750416
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s444898116
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s124467420
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s037660737
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s369287037
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s248348723
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s841006070
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s251556516
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s506574034
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s560056872
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s491179016
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s083297768
|
p00000
|
C++
|
- submit, private
|
a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s687273894
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
for (int i=0;i<=9;i++){
for (int j=0;j<=9;j++)
cout < i <"x"<j<"=" < i*j
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int')
9 | cout < i <"x"<j<"=" < i*j
| ~~~~ ^ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
a.cc:9:6: note: candidate: 'operator<(int, int)' (built-in)
9 | cout < i <"x"<j<"=" < i*j
| ~~~~~^~~
a.cc:9:6: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'int'
In file included from /usr/include/c++/14/string:48,
from /usr/include/c++/14/bits/locale_classes.h:40,
from /usr/include/c++/14/bits/ios_base.h:41,
from /usr/include/c++/14/ios:44,
from /usr/include/c++/14/ostream:40,
from /usr/include/c++/14/iostream:41,
from a.cc:1:
/usr/include/c++/14/bits/stl_iterator.h:448:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
448 | operator<(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:493:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
493 | operator<(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:1694:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1694 | operator<(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:1694:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:1760:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1760 | operator<(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:1760:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/stl_algobase.h:64,
from /usr/include/c++/14/string:51:
/usr/include/c++/14/bits/stl_pair.h:1045:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
1045 | operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/14/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::pair<_T1, _T2>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/basic_string.h:47,
from /usr/include/c++/14/string:54:
/usr/include/c++/14/string_view:673:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)'
673 | operator< (basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:673:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/string_view:680:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)'
680 | operator< (basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:680:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/string_view:688:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)'
688 | operator< (__type_identity_t<basic_string_view<_CharT, _Traits>> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:688:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3874:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
3874 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3874:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3888:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
3888 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3888:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3901:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
3901 | operator<(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3901:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: mismatched types 'const _CharT*' and 'std::basic_ostream<char>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/memory_resource.h:47,
from /usr/include/c++/14/string:68:
/usr/include/c++/14/tuple:2600:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)'
2600 | operator<(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/14/tuple:2600:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::tuple<_UTypes ...>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/ios_base.h:46:
/usr/include/c++/14/system_error:324:3: note: candidate: 'bool std::operator<(const error_code&, const error_code&)'
324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14/system_error:324:31: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'const std::error_code&'
324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14/system_error:507:3: note: candidate: 'bool std::operator<(const error_condition&, const error_condition&)'
507 | operator<(const error_condition& __lhs,
| ^~~~~~~~
/usr/include/c++/14/system_error:507:36: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'const std::error_condition&'
507 | operator<(const error_condition& __lhs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
a.cc: At global scope:
a.cc:12:5: error: expected unqualified-id before 'return'
12 | return 0;
| ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
13 | }
| ^
|
s088911638
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
for (int i=0;i<=9;i++){
for (int j=0;j<=9;j++)
cout < i <"x"<j<"=" < i*j
}
}
return 0;
}
|
a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int')
9 | cout < i <"x"<j<"=" < i*j
| ~~~~ ^ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
a.cc:9:6: note: candidate: 'operator<(int, int)' (built-in)
9 | cout < i <"x"<j<"=" < i*j
| ~~~~~^~~
a.cc:9:6: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'int'
In file included from /usr/include/c++/14/string:48,
from /usr/include/c++/14/bits/locale_classes.h:40,
from /usr/include/c++/14/bits/ios_base.h:41,
from /usr/include/c++/14/ios:44,
from /usr/include/c++/14/ostream:40,
from /usr/include/c++/14/iostream:41,
from a.cc:1:
/usr/include/c++/14/bits/stl_iterator.h:448:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
448 | operator<(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:493:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
493 | operator<(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:1694:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1694 | operator<(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:1694:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/stl_iterator.h:1760:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1760 | operator<(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/usr/include/c++/14/bits/stl_iterator.h:1760:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/stl_algobase.h:64,
from /usr/include/c++/14/string:51:
/usr/include/c++/14/bits/stl_pair.h:1045:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
1045 | operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/usr/include/c++/14/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::pair<_T1, _T2>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/basic_string.h:47,
from /usr/include/c++/14/string:54:
/usr/include/c++/14/string_view:673:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)'
673 | operator< (basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:673:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/string_view:680:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)'
680 | operator< (basic_string_view<_CharT, _Traits> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:680:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/string_view:688:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)'
688 | operator< (__type_identity_t<basic_string_view<_CharT, _Traits>> __x,
| ^~~~~~~~
/usr/include/c++/14/string_view:688:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3874:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
3874 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3874:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3888:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
3888 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3888:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>'
9 | cout < i <"x"<j<"=" < i*j
| ^
/usr/include/c++/14/bits/basic_string.h:3901:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
3901 | operator<(const _CharT* __lhs,
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:3901:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: mismatched types 'const _CharT*' and 'std::basic_ostream<char>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/memory_resource.h:47,
from /usr/include/c++/14/string:68:
/usr/include/c++/14/tuple:2600:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)'
2600 | operator<(const tuple<_TElements...>& __t,
| ^~~~~~~~
/usr/include/c++/14/tuple:2600:5: note: template argument deduction/substitution failed:
a.cc:9:8: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::tuple<_UTypes ...>'
9 | cout < i <"x"<j<"=" < i*j
| ^
In file included from /usr/include/c++/14/bits/ios_base.h:46:
/usr/include/c++/14/system_error:324:3: note: candidate: 'bool std::operator<(const error_code&, const error_code&)'
324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept
| ^~~~~~~~
/usr/include/c++/14/system_error:324:31: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'const std::error_code&'
324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14/system_error:507:3: note: candidate: 'bool std::operator<(const error_condition&, const error_condition&)'
507 | operator<(const error_condition& __lhs,
| ^~~~~~~~
/usr/include/c++/14/system_error:507:36: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'const std::error_condition&'
507 | operator<(const error_condition& __lhs,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
a.cc: At global scope:
a.cc:12:5: error: expected unqualified-id before 'return'
12 | return 0;
| ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
13 | }
| ^
|
s712466393
|
p00000
|
C++
|
#include<iostream>
using namespace std;
int main(){
for (int i=1;i<=9;i++){
for (int j=1;j<=9;j++)
cout << i << "x" << j << "=" << i*j;
}
}
return 0;
}
|
a.cc:12:5: error: expected unqualified-id before 'return'
12 | return 0;
| ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
13 | }
| ^
|
s930288320
|
p00000
|
C++
|
object Test {
def main(args: Array[String]) {
val a = Some(0)
val b = Some("t")
val c = Some(100)
for {
i <- a
_ <- b if (i != 10)
k <- c
} {
println(i, k)
}
}
}
|
a.cc:1:1: error: 'object' does not name a type
1 | object Test {
| ^~~~~~
|
s039384227
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s296489288
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s442491519
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s517979566
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s175692037
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s527832666
|
p00000
|
C++
|
//ああああああああああああああああああああ
|
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
|
s683633001
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s272067472
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s902021571
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s553418070
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s661036812
|
p00000
|
C++
|
aa
|
a.cc:1:1: error: 'aa' does not name a type
1 | aa
| ^~
|
s009468406
|
p00000
|
C++
|
aa
|
a.cc:1:1: error: 'aa' does not name a type
1 | aa
| ^~
|
s654344422
|
p00000
|
C++
|
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
using namespace std;
|
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
|
s805493875
|
p00000
|
C++
|
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
using namespace std;
|
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
|
s032773587
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s785491169
|
p00000
|
C++
|
a
|
a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s764897744
|
p00000
|
C++
|
p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));}
|
a.cc:1:1: error: 'p' does not name a type
1 | p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));}
| ^
|
s788591500
|
p00000
|
C++
|
fa
|
a.cc:1:1: error: 'fa' does not name a type
1 | fa
| ^~
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.