Pagini recente » Borderou de evaluare (job #1149323) | Borderou de evaluare (job #2844164) | Borderou de evaluare (job #1812940) | Borderou de evaluare (job #2647997) | Borderou de evaluare (job #1799997)
Borderou de evaluare (job #1799997)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d", &v[i]);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %d", &var, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 4ms | 268kb | OK | 10 | 10 |
5 | 24ms | 308kb | OK | 10 | 20 |
6 | 80ms | 464kb | OK | 10 |
7 | 120ms | 652kb | OK | 10 | 40 |
8 | 124ms | 652kb | OK | 10 |
9 | 124ms | 652kb | OK | 10 |
10 | 128ms | 656kb | OK | 10 |
Punctaj total | 100 |