Pagini recente » Borderou de evaluare (job #293524) | Borderou de evaluare (job #2189402) | Borderou de evaluare (job #2367230) | Borderou de evaluare (job #1020631) | Borderou de evaluare (job #654771)
Borderou de evaluare (job #654771)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘int eval()’:
user.cpp:129: warning: comparison between signed and unsigned integer expressions
In file included from /usr/include/stdio.h:910,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:24:
/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
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:26:
/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/cc0g2NCp.o: In function `read()':
user.cpp:(.text+0x27e): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0x200): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 100 |