Pagini recente » Borderou de evaluare (job #660758) | Borderou de evaluare (job #2667511) | Borderou de evaluare (job #1789876) | Borderou de evaluare (job #772219) | Borderou de evaluare (job #1655070)
Borderou de evaluare (job #1655070)
Raport evaluator
Compilare:
user.cpp: In function ‘int verif(int)’:
user.cpp:8:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, t = 1, p = 0, val = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.in", "r", stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.out", "w", stdout);
^
user.cpp:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &t);
^
user.cpp:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N), NR = 0;
^
user.cpp:32:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; i++) scanf("%d ", &A[i]), d += A[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 4ms | 300kb | OK | 10 |
4 | 4ms | 304kb | OK | 10 |
5 | 4ms | 300kb | OK | 10 |
6 | 4ms | 296kb | OK | 10 |
7 | 92ms | 384kb | OK | 10 |
8 | 100ms | 380kb | OK | 10 |
9 | 96ms | 384kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |