Pagini recente » Borderou de evaluare (job #2809620) | Borderou de evaluare (job #2172393) | Borderou de evaluare (job #1916924) | Borderou de evaluare (job #2852803) | Borderou de evaluare (job #1738611)
Borderou de evaluare (job #1738611)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
FOR(i,1,n) scanf("%d",&h[i]);
^
user.cpp:48:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
FOR(i,1,n) scanf("%d",&cf[i]);
^
user.cpp:51:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
FOR(i,1,n) printf("%d\n",cf[i]);
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.in", "r", stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.out", "w", stdout);
^
user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
FOR(i,1,n) scanf("%d",&h[i]);
^
user.cpp:48:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
FOR(i,1,n) scanf("%d",&cf[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 5 |
2 | 0ms | 464kb | OK | 5 |
3 | 0ms | 460kb | OK | 5 |
4 | 0ms | 468kb | OK | 5 |
5 | 4ms | 524kb | OK | 5 |
6 | 4ms | 508kb | OK | 5 |
7 | 8ms | 528kb | OK | 5 |
8 | 8ms | 528kb | OK | 5 |
9 | 8ms | 532kb | OK | 5 |
10 | 12ms | 560kb | OK | 5 |
11 | 588ms | 5328kb | Incorect | 0 |
12 | 560ms | 5328kb | Incorect | 0 |
13 | 624ms | 5332kb | Incorect | 0 |
14 | 596ms | 5328kb | Incorect | 0 |
15 | 656ms | 5324kb | Incorect | 0 |
16 | 560ms | 5332kb | Incorect | 0 |
17 | 532ms | 5328kb | Incorect | 0 |
18 | 636ms | 5328kb | Incorect | 0 |
19 | 632ms | 5328kb | Incorect | 0 |
20 | 660ms | 5324kb | Incorect | 0 |
Punctaj total | 50 |