Pagini recente » Borderou de evaluare (job #212563) | Borderou de evaluare (job #1623498) | Borderou de evaluare (job #2081944) | Borderou de evaluare (job #1113226) | Borderou de evaluare (job #1447911)
Borderou de evaluare (job #1447911)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read_Text()’:
user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:42:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
user.cpp: In function ‘void Set()’:
user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( Cuv[i] );
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:4:
In function ‘char* gets(char*)’,
inlined from ‘void Set()’ at user.cpp:67:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccJkNyhV.o: In function `Set()':
user.cpp:(.text+0x1b7): warning: the `gets' function is dangerous and should not be used.
/tmp/ccJkNyhV.o: In function `Read_Text()':
user.cpp:(.text+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 60ms | 360kb | OK | 10 |
2 | 4ms | 336kb | OK | 10 |
3 | 12ms | 440kb | OK | 10 |
4 | 24ms | 1220kb | OK | 10 |
5 | 60ms | 3420kb | OK | 10 |
6 | 112ms | 3452kb | OK | 10 |
7 | 196ms | 3484kb | OK | 10 |
8 | 384ms | 50952kb | OK | 10 |
9 | 400ms | 57696kb | OK | 10 |
10 | 256ms | 5204kb | OK | 10 |
Punctaj total | 100 |