Pagini recente » Borderou de evaluare (job #3123836) | Borderou de evaluare (job #504213) | Borderou de evaluare (job #1214313) | Borderou de evaluare (job #1090418) | Borderou de evaluare (job #1414876)
Borderou de evaluare (job #1414876)
Raport evaluator
Compilare:
user.cpp: In function ‘bool royfloyd(long int)’:
user.cpp:35:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d %d\n",u[i],u[j],v[p].x,v[k].x);
^
user.cpp:35:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:35:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:35:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&n,&m,&t);
^
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[i].x);
^
user.cpp:59:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&a,&b,&k);
^
user.cpp:59:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:59:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("coach.in","r",stdin);
^
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("coach.out","w",stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&t);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].x);
^
user.cpp:59:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Belea ! | 10 |
2 | 0ms | 280kb | Belea ! | 10 |
3 | 0ms | 280kb | Belea ! | 10 |
4 | 0ms | 284kb | Belea ! | 10 |
5 | 0ms | 304kb | Belea ! | 10 |
6 | 0ms | 324kb | Belea ! | 10 |
7 | 0ms | 336kb | Belea ! | 10 |
8 | 4ms | 340kb | Belea ! | 10 |
9 | 88ms | 340kb | Belea ! | 10 |
10 | 4ms | 344kb | Belea ! | 10 |
Punctaj total | 100 |