Pagini recente » Borderou de evaluare (job #1219360) | Borderou de evaluare (job #132350) | Borderou de evaluare (job #1295306) | Borderou de evaluare (job #2760077) | Borderou de evaluare (job #919966)
Borderou de evaluare (job #919966)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void rezolvare()’:
user.cpp:44: warning: array subscript has type ‘char’
user.cpp:45: warning: array subscript has type ‘char’
user.cpp:55: warning: array subscript has type ‘char’
user.cpp:63: warning: array subscript has type ‘char’
user.cpp:65: warning: array subscript has type ‘char’
user.cpp:66: warning: array subscript has type ‘char’
user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:75: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:76: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void citire()’ at user.cpp:16:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/ccQqIcFx.o: In function `citire()':
user.cpp:(.text+0x3f0): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0x3c3): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 320kb | OK | 5 |
| 2 | 4ms | 380kb | OK | 5 |
| 3 | 4ms | 1340kb | OK | 5 |
| 4 | 4ms | 2240kb | OK | 5 |
| 5 | 20ms | 10960kb | OK | 5 |
| 6 | 4ms | 2552kb | OK | 5 |
| 7 | 92ms | 43228kb | OK | 5 |
| 8 | 104ms | 42488kb | OK | 5 |
| 9 | 664ms | 58960kb | OK | 5 |
| 10 | 812ms | 59536kb | OK | 5 |
| 11 | 792ms | 59540kb | OK | 5 |
| 12 | 552ms | 47568kb | OK | 5 |
| 13 | 592ms | 50684kb | OK | 5 |
| 14 | 656ms | 53676kb | OK | 5 |
| 15 | 192ms | 16152kb | OK | 5 |
| 16 | 548ms | 19992kb | OK | 5 |
| 17 | 460ms | 34948kb | OK | 5 |
| 18 | 644ms | 60264kb | OK | 5 |
| 19 | 800ms | 59576kb | OK | 5 |
| 20 | 572ms | 59808kb | OK | 5 |
| Punctaj total | 100 |