Pagini recente » Borderou de evaluare (job #209310) | Borderou de evaluare (job #966907) | Borderou de evaluare (job #1166230) | Borderou de evaluare (job #1770148) | Borderou de evaluare (job #1688054)
Borderou de evaluare (job #1688054)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",rez);
^
user.cpp:7:39: 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:8:41: 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:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 24ms | 280kb | OK | 10 |
6 | 28ms | 344kb | OK | 10 |
7 | 24ms | 352kb | OK | 10 |
8 | 28ms | 360kb | OK | 10 |
9 | 24ms | 296kb | OK | 10 |
10 | 20ms | 284kb | OK | 10 |
Punctaj total | 100 |