Pagini recente » Borderou de evaluare (job #2896298) | Borderou de evaluare (job #2334823) | Borderou de evaluare (job #1136114) | Borderou de evaluare (job #2076463) | Borderou de evaluare (job #1438160)
Borderou de evaluare (job #1438160)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir.in", "r", stdin);
^
user.cpp:13:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(a + 1, Nmax, stdin);
^
user.cpp:14:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(b + 1, Nmax, stdin);
^
user.cpp: In function ‘void solve()’:
user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:13: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);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:14: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 | 272kb | Ok! | 10 |
2 | 0ms | 240kb | Ok! | 10 |
3 | 0ms | 236kb | Ok! | 10 |
4 | 0ms | 264kb | Ok! | 10 |
5 | 0ms | 228kb | Ok! | 10 |
6 | 0ms | 984kb | Ok! | 10 |
7 | 0ms | 552kb | Ok! | 10 |
8 | 4ms | 2200kb | Ok! | 10 |
9 | 4ms | 1248kb | Ok! | 10 |
10 | 4ms | 2160kb | Ok! | 10 |
Punctaj total | 100 |