Pagini recente » Cod sursa (job #1262194) | Cod sursa (job #2960822) | Cod sursa (job #1966810) | Borderou de evaluare (job #2014573) | Borderou de evaluare (job #1688093)
Borderou de evaluare (job #1688093)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",rez);
^
user.cpp:7:38: 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:40: 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:12:25: 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:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 24ms | 280kb | OK | 10 |
6 | 28ms | 344kb | OK | 10 |
7 | 24ms | 344kb | OK | 10 |
8 | 28ms | 352kb | OK | 10 |
9 | 24ms | 296kb | OK | 10 |
10 | 24ms | 272kb | OK | 10 |
Punctaj total | 100 |