Pagini recente » Borderou de evaluare (job #1735230) | Borderou de evaluare (job #1387841) | Borderou de evaluare (job #213135) | Borderou de evaluare (job #211960) | Borderou de evaluare (job #1366797)
Borderou de evaluare (job #1366797)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d\n%d\n",maxim,sum);
^
user.cpp:15:9: warning: unused variable ‘pos’ [-Wunused-variable]
int pos=0;
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("subsiruri.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("subsiruri.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&nr[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 0ms | 264kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 100 |