Pagini recente » Cod sursa (job #1904260) | Cod sursa (job #821201) | Cod sursa (job #48523) | Cod sursa (job #1906635) | Borderou de evaluare (job #732007)
Borderou de evaluare (job #732007)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:21: warning: ignoring return value of ‘char* gets(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: In function ‘void verifica(char)’:
user.cpp:49: warning: array subscript has type ‘char’
user.cpp: In function ‘int main()’:
user.cpp:65: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:66: 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:1:
In function ‘char* gets(char*)’,
inlined from ‘void citire()’ at user.cpp:21:
/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 citire()’ 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
/tmp/ccmPOkO9.o: In function `citire()':
user.cpp:(.text+0x2ba): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 476kb | OK | 5 |
2 | 4ms | 596kb | OK | 5 |
3 | 4ms | 692kb | OK | 5 |
4 | 4ms | 856kb | OK | 5 |
5 | 4ms | 1024kb | OK | 5 |
6 | 4ms | 1108kb | OK | 5 |
7 | 4ms | 1252kb | OK | 5 |
8 | 8ms | 1548kb | OK | 5 |
9 | 8ms | 1788kb | OK | 5 |
10 | 8ms | 1876kb | OK | 5 |
11 | 16ms | 2760kb | OK | 5 |
12 | 32ms | 3644kb | OK | 5 |
13 | 44ms | 4232kb | OK | 5 |
14 | 68ms | 5116kb | OK | 5 |
15 | 120ms | 4812kb | OK | 5 |
16 | 104ms | 6292kb | OK | 5 |
17 | 176ms | 7992kb | OK | 5 |
18 | 124ms | 7280kb | OK | 5 |
19 | 140ms | 6116kb | OK | 5 |
20 | 144ms | 7644kb | OK | 5 |
Punctaj total | 100 |