Pagini recente » Borderou de evaluare (job #255059) | Borderou de evaluare (job #451737) | Borderou de evaluare (job #1344244) | Borderou de evaluare (job #2765707) | Borderou de evaluare (job #1799951)
Borderou de evaluare (job #1799951)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i<= n; ++i)
^
user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d", &val);
^
user.cpp:14:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:15:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 68ms | 284kb | OK | 10 | 50 |
2 | 0ms | 284kb | OK | 10 |
3 | 80ms | 284kb | OK | 10 |
4 | 44ms | 280kb | OK | 10 |
5 | 100ms | 280kb | OK | 10 |
6 | 192ms | 284kb | OK | 10 | 50 |
7 | 232ms | 284kb | OK | 10 |
8 | 284ms | 280kb | OK | 10 |
9 | 240ms | 284kb | OK | 10 |
10 | 268ms | 284kb | OK | 10 |
Punctaj total | 100 |