Pagini recente » Borderou de evaluare (job #1545012) | Borderou de evaluare (job #1204760) | Borderou de evaluare (job #654737) | Borderou de evaluare (job #1517178) | Borderou de evaluare (job #2158492)
Borderou de evaluare (job #2158492)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in", "r", stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out", "w", stdout);
^
user.cpp:35:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:45: 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);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2900kb | OK! | 10 |
2 | 4ms | 2900kb | OK! | 10 |
3 | 4ms | 2904kb | OK! | 10 |
4 | 4ms | 2880kb | OK! | 10 |
5 | 4ms | 2892kb | OK! | 10 |
6 | 8ms | 2828kb | OK! | 10 |
7 | 16ms | 2972kb | OK! | 10 |
8 | 36ms | 3136kb | OK! | 10 |
9 | 44ms | 3084kb | OK! | 10 |
10 | 40ms | 3040kb | OK! | 10 |
Punctaj total | 100 |