Pagini recente » Borderou de evaluare (job #2455113) | Borderou de evaluare (job #3287792) | Borderou de evaluare (job #244605) | Borderou de evaluare (job #2978767) | Borderou de evaluare (job #1671824)
Borderou de evaluare (job #1671824)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&v[x]);
^
user.cpp: In function ‘int main()’:
user.cpp:43:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d\n",summax,i,j);
^
user.cpp:43:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:43:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp: In function ‘void citire()’:
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[x]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 5 |
| 2 | 0ms | 444kb | OK | 5 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 444kb | OK | 5 |
| 5 | 0ms | 464kb | OK | 5 |
| 6 | 0ms | 484kb | OK | 5 |
| 7 | 4ms | 528kb | OK | 5 |
| 8 | 4ms | 564kb | OK | 5 |
| 9 | 24ms | 832kb | OK | 5 |
| 10 | 52ms | 1232kb | OK | 5 |
| 11 | 104ms | 2012kb | OK | 5 |
| 12 | 148ms | 2784kb | OK | 5 |
| 13 | 204ms | 3572kb | OK | 5 |
| 14 | 256ms | 4356kb | OK | 5 |
| 15 | 1108ms | 19980kb | OK | 5 |
| 16 | 1252ms | 21928kb | OK | 5 |
| 17 | 1268ms | 21928kb | OK | 5 |
| 18 | 1428ms | 23884kb | OK | 5 |
| 19 | 1316ms | 23884kb | OK | 5 |
| 20 | 1424ms | 23880kb | OK | 5 |
| Punctaj total | 95 |