Pagini recente » Borderou de evaluare (job #102137) | Borderou de evaluare (job #2538501) | Borderou de evaluare (job #2703787) | Borderou de evaluare (job #720569) | Borderou de evaluare (job #1806801)
Borderou de evaluare (job #1806801)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve_diff()’:
user.cpp:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); i++)
^
user.cpp: In function ‘void read()’:
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in", "r", stdin);
^
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out", "w", stdout);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 548kb | OK | 10 |
4 | 8ms | 684kb | OK | 10 |
5 | 8ms | 784kb | Incorect | 0 |
6 | 16ms | 852kb | OK | 10 |
7 | 20ms | 1188kb | OK | 10 |
8 | 16ms | 1148kb | OK | 10 |
9 | 32ms | 1692kb | OK | 10 |
10 | 32ms | 1296kb | OK | 10 |
Punctaj total | 90 |