Borderou de evaluare (job #1846016)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 12 ianuarie 2017 01:05:29
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] wrd[n][++ wrd[n][0]] = str[j ++]; ^ user.cpp:73:120: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::iterator_traits<std::pair<std::pair<long long unsigned int, long long unsigned int>, int>*>::difference_type {aka int}’ [-Wformat=] return ( maxim < 64 ) ? ( ( p.first.second >> maxim ) & 1 ) : ( ( p.first.first >> ( maxim - 64 ) ) & 1 ); } ) ); ^ user.cpp:25:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( str + 1, DIM, in ); ^ user.cpp:42:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( str + 1, DIM, in ); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:25:30: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:42:34: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms1172kbCorect10
20ms856kbCorect10
30ms860kbCorect10
40ms864kbCorect10
50ms860kbCorect10
60ms860kbCorect10
70ms864kbCorect10
872ms1036kbCorect10
94ms880kbCorect10
108ms876kbCorect10
Punctaj total100

Ceva nu functioneaza?