Pagini recente » Borderou de evaluare (job #2280299) | Borderou de evaluare (job #118321) | Borderou de evaluare (job #1134893) | Borderou de evaluare (job #2648539) | Borderou de evaluare (job #1806773)
Borderou de evaluare (job #1806773)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve_diff()’:
user.cpp:56: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:66: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:67: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:68: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:71: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 | 428kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 548kb | OK | 10 |
4 | 8ms | 688kb | OK | 10 |
5 | 8ms | 784kb | Incorect | 0 |
6 | 12ms | 860kb | OK | 10 |
7 | 20ms | 1188kb | OK | 10 |
8 | 16ms | 1148kb | OK | 10 |
9 | 28ms | 1692kb | OK | 10 |
10 | 36ms | 1304kb | OK | 10 |
Punctaj total | 90 |