Pagini recente » Borderou de evaluare (job #2221653) | Borderou de evaluare (job #116676) | Borderou de evaluare (job #609785) | Borderou de evaluare (job #2671085) | Borderou de evaluare (job #1958622)
Borderou de evaluare (job #1958622)
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(b>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 | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 8ms | 264kb | OK | 10 |
| 8 | 908ms | 260kb | OK | 10 |
| 9 | 1248ms | 256kb | OK | 10 |
| 10 | 1308ms | 260kb | OK | 10 |
| Punctaj total | 100 |