Pagini recente » Borderou de evaluare (job #855079) | Borderou de evaluare (job #2603345) | Borderou de evaluare (job #2878059) | Borderou de evaluare (job #77259) | Borderou de evaluare (job #1393247)
Borderou de evaluare (job #1393247)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=]
if ( hashin [ nr2 ] == hashin [ nr10 ] ) printf ("%d\n" , "0" ) ;
^
user.cpp:75:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘const char*’ [-Wformat=]
printf ("%d\n" , "1" ) ;
^
user.cpp:17:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("twosets.in" , "r" , stdin ) ;
^
user.cpp:18:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("twosets.out" , "w" , stdout ) ;
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d" , &t ) ;
^
user.cpp:23:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( s ) ;
^
user.cpp:50:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( s1 ) ;
^
/tmp/cciIJCVq.o: In function `main':
user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 496kb | Incorect | 0 | 0 |
2 | 8ms | 836kb | Incorect | 0 | 0 |
3 | 112ms | 4452kb | Incorect | 0 | 0 |
4 | 112ms | 4456kb | Incorect | 0 | 0 |
5 | 300ms | 10244kb | Incorect | 0 | 0 |
6 | 256ms | 10420kb | Incorect | 0 |
7 | 292ms | 13248kb | Incorect | 0 | 0 |
8 | 272ms | 10284kb | Incorect | 0 |
9 | 272ms | 10336kb | Incorect | 0 | 0 |
10 | 344ms | 13732kb | Incorect | 0 |
Punctaj total | 0 |