Pagini recente » Borderou de evaluare (job #2355422) | Borderou de evaluare (job #3285148) | Borderou de evaluare (job #200042) | Borderou de evaluare (job #20016) | Borderou de evaluare (job #1969974)
Borderou de evaluare (job #1969974)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("maestru.in", "r", stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("maestru.out", "w", stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &Tests);
^
user.cpp:15:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n%d", &N, &P, &x0), N --;
^
user.cpp:17:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x[i]), x[i] -= x0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 444kb | Incorect | 0 | 0 |
2 | 584ms | 448kb | OK | 33 |
3 | 276ms | 456kb | OK | 33 |
Punctaj total | 0 |