Pagini recente » Borderou de evaluare (job #151440) | Borderou de evaluare (job #3192567) | Borderou de evaluare (job #1231236) | Cod sursa (job #1082425) | Borderou de evaluare (job #2317724)
Borderou de evaluare (job #2317724)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:75:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ", it);
^
main.cpp:45:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calorifer.in", "r", stdin);
^
main.cpp:46:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calorifer.out", "w", stdout);
^
main.cpp:48:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:51:24: 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 | 5ms | 1703kb | OK | 10 |
| 2 | 7ms | 1703kb | OK | 10 |
| 3 | 113ms | 3526kb | OK | 10 |
| 4 | 4ms | 1703kb | OK | 10 |
| 5 | 6ms | 1703kb | OK | 10 |
| 6 | 17ms | 1966kb | OK | 10 |
| 7 | 117ms | 3526kb | OK | 10 |
| 8 | 104ms | 3526kb | OK | 10 |
| 9 | 99ms | 3133kb | OK | 10 |
| 10 | 4ms | 1703kb | OK | 10 |
| Punctaj total | 100 |