Borderou de evaluare (job #1533409)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:21: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u",&v[i]);
^
user.cpp:20:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u",&c0[i]);
^
user.cpp:22:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u",&c1[i]);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&n);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&v[i]);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&c0[i]);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&c1[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 328kb | OK | 10 | 0 |
2 | 0ms | 484kb | OK | 10 |
3 | 28ms | 10620kb | OK | 10 |
4 | 48ms | 15472kb | OK | 10 |
5 | 92ms | 27308kb | OK | 10 |
6 | 244ms | 59416kb | OK | 10 |
7 | 244ms | 59416kb | OK | 10 |
8 | 308ms | Depăşit | Memory limit exceeded. | 0 |
9 | 304ms | Depăşit | Memory limit exceeded. | 0 |
10 | 304ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |