Pagini recente » Borderou de evaluare (job #336889) | Borderou de evaluare (job #2361166) | Borderou de evaluare (job #1235378) | Borderou de evaluare (job #2205944) | Borderou de evaluare (job #1688070)
Borderou de evaluare (job #1688070)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", rez);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasament.in", "r", stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasament.out", "w", stdout);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &j);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 24ms | 288kb | OK | 10 |
6 | 28ms | 348kb | OK | 10 |
7 | 28ms | 348kb | OK | 10 |
8 | 28ms | 360kb | OK | 10 |
9 | 24ms | 296kb | OK | 10 |
10 | 24ms | 280kb | OK | 10 |
Punctaj total | 100 |