Pagini recente » Borderou de evaluare (job #1376881) | Borderou de evaluare (job #3122878) | Borderou de evaluare (job #2165413) | Borderou de evaluare (job #344218) | Borderou de evaluare (job #614169)
Borderou de evaluare (job #614169)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:11: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void verif(int)’:
user.cpp:37: warning: array subscript has type ‘char’
user.cpp:37: warning: array subscript has type ‘char’
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:17:
/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/ccPCJi2P.o: In function `read()':
user.cpp:(.text+0x249): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 4ms | 248kb | OK | 10 |
5 | 16ms | 248kb | OK | 10 |
6 | 12ms | 252kb | OK | 10 |
7 | 80ms | 248kb | OK | 10 |
8 | 72ms | 248kb | OK | 10 |
9 | 80ms | 252kb | OK | 10 |
10 | 72ms | 252kb | OK | 10 |
Punctaj total | 100 |