Pagini recente » Borderou de evaluare (job #615513) | Borderou de evaluare (job #2740414) | Borderou de evaluare (job #865496) | Borderou de evaluare (job #374077) | Borderou de evaluare (job #878867)
Borderou de evaluare (job #878867)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void print()’:
user.cpp:33: 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 /usr/include/c++/4.4/cstdio:45,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:25:
/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/ccAYJTmv.o: In function `main':
user.cpp:(.text+0x15a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 592kb | OK | 10 |
2 | 4ms | 804kb | OK | 10 |
3 | 4ms | 1396kb | OK | 10 |
4 | 12ms | 2408kb | OK | 10 |
5 | 24ms | 3412kb | OK | 10 |
6 | 32ms | 3816kb | OK | 10 |
7 | 32ms | 4016kb | OK | 10 |
8 | 36ms | 4216kb | OK | 10 |
9 | 40ms | 4416kb | OK | 10 |
10 | 44ms | 4424kb | OK | 10 |
Punctaj total | 100 |