Pagini recente » Cod sursa (job #243045) | Cod sursa (job #2579986) | Borderou de evaluare (job #2453257) | Borderou de evaluare (job #1873098) | Borderou de evaluare (job #1683933)
Borderou de evaluare (job #1683933)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",ans);
^
user.cpp:8: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:9: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:13: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:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 24ms | 280kb | OK | 10 |
| 6 | 24ms | 336kb | OK | 10 |
| 7 | 28ms | 336kb | OK | 10 |
| 8 | 28ms | 352kb | OK | 10 |
| 9 | 24ms | 296kb | OK | 10 |
| 10 | 20ms | 272kb | OK | 10 |
| Punctaj total | 100 |