Pagini recente » Borderou de evaluare (job #2112238) | Monitorul de evaluare | Borderou de evaluare (job #1072756) | Borderou de evaluare (job #1488561) | Borderou de evaluare (job #1558441)
Borderou de evaluare (job #1558441)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
scanf("%d",&s);
^
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
if (y==s) { printf("%d",m); return 0; } else
^
user.cpp:18:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe.in","r",stdin);
^
user.cpp:19:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxe.out","w",stdout);
^
user.cpp:20:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 256kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 0ms | 260kb | OK | 10 |
| Punctaj total | 100 |