Pagini recente » Borderou de evaluare (job #2692603) | Borderou de evaluare (job #2585458) | Borderou de evaluare (job #925022) | Borderou de evaluare (job #1998177) | Borderou de evaluare (job #1519819)
Borderou de evaluare (job #1519819)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &np[i]);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘void write()’:
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:83:59: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (val > sol || (val == sol && (a > x || (a == x && b > y))))
^
user.cpp:83:48: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (val > sol || (val == sol && (a > x || (a == x && b > y))))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 408kb | OK | 10 |
4 | 4ms | 788kb | OK | 10 |
5 | 4ms | 788kb | OK | 10 |
6 | 16ms | 1952kb | OK | 10 |
7 | 264ms | 6324kb | OK | 10 |
8 | 28ms | 3720kb | OK | 10 |
9 | 208ms | 5392kb | OK | 10 |
10 | 308ms | 5564kb | OK | 10 |
Punctaj total | 100 |