Pagini recente » Borderou de evaluare (job #2218511) | Borderou de evaluare (job #424421) | Borderou de evaluare (job #2152934) | Borderou de evaluare (job #2797617) | Borderou de evaluare (job #1958617)
Borderou de evaluare (job #1958617)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:79: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(a<b&&pa<=n){if(a>2000000000)printf("%lld\n",a);else printf("%d\n",a);ok=1;}
^
user.cpp:14:79: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if(pb<=n){if(a>2000000000)printf("%lld\n",b);else printf("%d\n",b);ok=0;}
^
user.cpp:15:70: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else {if(a>2000000000)printf("%lld\n",a);else printf("%d\n",a);ok=1;}
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 8ms | 260kb | OK | 10 |
| 8 | 704ms | 256kb | Incorect | 0 |
| 9 | 976ms | 256kb | Incorect | 0 |
| 10 | 1028ms | 264kb | Incorect | 0 |
| Punctaj total | 70 |