Pagini recente » Borderou de evaluare (job #1687744) | Borderou de evaluare (job #3217421) | Borderou de evaluare (job #2661295) | Borderou de evaluare (job #2481707) | Borderou de evaluare (job #1219917)
Borderou de evaluare (job #1219917)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i%i%i%i%i%i%i",&N,&M,&A,&B,&C,&D,&E);
^
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=]
user.cpp:33:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i",&x);
^
user.cpp:87:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%i",r);
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in","r",stdin);
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out","w",stdout);
^
user.cpp:26:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i%i%i%i%i%i",&N,&M,&A,&B,&C,&D,&E);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 632kb | OK | 10 |
| 2 | 0ms | 1576kb | OK | 10 |
| 3 | 40ms | 2308kb | OK | 10 |
| 4 | 148ms | 2348kb | OK | 10 |
| 5 | 268ms | 2380kb | OK | 10 |
| 6 | 720ms | 2380kb | OK | 10 |
| 7 | 496ms | 2384kb | OK | 10 |
| 8 | Depăşit | 2356kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2360kb | Time limit exceeded. | 0 |
| 10 | 0ms | 316kb | OK | 10 |
| Punctaj total | 80 |