Pagini recente » Borderou de evaluare (job #1390995) | Borderou de evaluare (job #1469966) | Borderou de evaluare (job #1020131) | Borderou de evaluare (job #1390448) | Borderou de evaluare (job #865512)
Borderou de evaluare (job #865512)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void preproc()’:
user.cpp:24: warning: array subscript has type ‘char’
user.cpp:28: warning: array subscript has type ‘char’
user.cpp: In function ‘void afisare()’:
user.cpp:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:52: warning: array subscript has type ‘char’
user.cpp:53: warning: array subscript has type ‘char’
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:18:
/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/ccC5JMz1.o: In function `citire()':
user.cpp:(.text+0x179): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Incorect | 0 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 4ms | 344kb | Incorect | 0 |
5 | 8ms | 544kb | Incorect | 0 |
6 | 16ms | 856kb | Incorect | 0 |
7 | 28ms | 1260kb | Incorect | 0 |
8 | 124ms | 1868kb | Incorect | 0 |
9 | 56ms | 1364kb | Incorect | 0 |
10 | 88ms | 1864kb | Incorect | 0 |
Punctaj total | 10 |