Pagini recente » Cod sursa (job #443055) | Borderou de evaluare (job #1231924) | Borderou de evaluare (job #2987838) | Borderou de evaluare (job #2119506) | Borderou de evaluare (job #2505569)
Borderou de evaluare (job #2505569)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:22: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%i\n",ans);
^
main.cpp:29:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri.in","r",stdin);
^
main.cpp:30:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri.out","w",stdout);
^
main.cpp:33:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&n);
^
main.cpp:39:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 4ms | 131kb | OK | 10 |
| 3 | 22ms | 262kb | Incorect | 0 |
| 4 | 452ms | 1826kb | Time limit exceeded | 0 |
| 5 | 307ms | 2867kb | Incorect | 0 |
| 6 | 451ms | 1695kb | Time limit exceeded | 0 |
| 7 | 451ms | 2867kb | Time limit exceeded | 0 |
| 8 | 450ms | 1695kb | Time limit exceeded | 0 |
| 9 | 451ms | 1695kb | Time limit exceeded | 0 |
| 10 | 453ms | 1695kb | Time limit exceeded | 0 |
| Punctaj total | 20 |