Pagini recente » Cod sursa (job #891222) | Borderou de evaluare (job #1043295) | Borderou de evaluare (job #1268165) | Borderou de evaluare (job #2759546) | Borderou de evaluare (job #1671814)
Borderou de evaluare (job #1671814)
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:42:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d\n",summax,pozmin,i);
^
user.cpp:42:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:42:40: 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 | 428kb | OK | 5 |
2 | 0ms | 436kb | OK | 5 |
3 | 0ms | 432kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 0ms | 456kb | OK | 5 |
6 | 0ms | 476kb | OK | 5 |
7 | 4ms | 512kb | OK | 5 |
8 | 4ms | 552kb | OK | 5 |
9 | 24ms | 828kb | OK | 5 |
10 | 52ms | 1220kb | Incorect | 0 |
11 | 100ms | 2000kb | OK | 5 |
12 | 152ms | 2780kb | OK | 5 |
13 | 208ms | 3564kb | OK | 5 |
14 | 256ms | 4344kb | OK | 5 |
15 | 1092ms | 19968kb | OK | 5 |
16 | 1264ms | 21920kb | OK | 5 |
17 | 1284ms | 21920kb | OK | 5 |
18 | 1456ms | 23876kb | OK | 5 |
19 | 1448ms | 23876kb | OK | 5 |
20 | 1304ms | 23872kb | OK | 5 |
Punctaj total | 85 |