Pagini recente » Borderou de evaluare (job #2239023) | Borderou de evaluare (job #1478165)
Borderou de evaluare (job #1478165)
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 | 448kb | OK | 5 |
2 | 0ms | 444kb | OK | 5 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 |
5 | 0ms | 448kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 4ms | 1928kb | Incorect | 0 |
8 | 4ms | 2072kb | Incorect | 0 |
9 | 4ms | 1332kb | Incorect | 0 |
10 | 4ms | 1724kb | Incorect | 0 |
11 | 4ms | 1828kb | Incorect | 0 |
12 | 8ms | 2656kb | Incorect | 0 |
13 | 20ms | 6252kb | Incorect | 0 |
14 | 16ms | 4528kb | Incorect | 0 |
15 | 16ms | 4996kb | Incorect | 0 |
16 | 16ms | 4304kb | Incorect | 0 |
17 | 60ms | 14624kb | Incorect | 0 |
18 | 92ms | 23396kb | Incorect | 0 |
19 | 80ms | 19200kb | Incorect | 0 |
20 | 112ms | 28252kb | Incorect | 0 |
Punctaj total | 10 |