Pagini recente » Borderou de evaluare (job #1789469) | Borderou de evaluare (job #2610925) | Borderou de evaluare (job #802397) | Borderou de evaluare (job #614910) | Borderou de evaluare (job #1806754)
Borderou de evaluare (job #1806754)
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 | 452kb | OK | 10 |
3 | 4ms | 548kb | OK | 10 |
4 | 8ms | 688kb | OK | 10 |
5 | 8ms | 784kb | Incorect | 0 |
6 | 16ms | 856kb | OK | 10 |
7 | 24ms | 1188kb | OK | 10 |
8 | 20ms | 1148kb | OK | 10 |
9 | 32ms | 1688kb | OK | 10 |
10 | 32ms | 1300kb | OK | 10 |
Punctaj total | 90 |