Pagini recente » Borderou de evaluare (job #2427565) | Borderou de evaluare (job #1967681) | Borderou de evaluare (job #1139555) | Borderou de evaluare (job #3125659) | Borderou de evaluare (job #1478164)
Borderou de evaluare (job #1478164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:49:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,NMAX,stdin);
^
user.cpp:55:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,NMAX,stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:49:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:55:30:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 5 |
| 2 | 0ms | 444kb | OK | 5 |
| 3 | 0ms | 444kb | Incorect | 0 |
| 4 | 0ms | 448kb | Incorect | 0 |
| 5 | 0ms | 444kb | Incorect | 0 |
| 6 | 0ms | 460kb | Incorect | 0 |
| 7 | 4ms | 1896kb | Incorect | 0 |
| 8 | 4ms | 2040kb | Incorect | 0 |
| 9 | 4ms | 1312kb | Incorect | 0 |
| 10 | 4ms | 1708kb | Incorect | 0 |
| 11 | 4ms | 1800kb | Incorect | 0 |
| 12 | 8ms | 2620kb | Incorect | 0 |
| 13 | 20ms | 6132kb | Incorect | 0 |
| 14 | 16ms | 4452kb | Incorect | 0 |
| 15 | 16ms | 4908kb | Incorect | 0 |
| 16 | 16ms | 4236kb | Incorect | 0 |
| 17 | 60ms | 14336kb | Incorect | 0 |
| 18 | 92ms | 22916kb | Incorect | 0 |
| 19 | 76ms | 18808kb | Incorect | 0 |
| 20 | 112ms | 27672kb | Incorect | 0 |
| Punctaj total | 10 |