Borderou de evaluare (job #1846012)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] wrd[n][++ wrd[n][0]] = str[j ++]; ^ user.cpp:71: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:23: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:40: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 /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:23: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:40: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
14msDepăşitMemory limit exceeded.0
24msDepăşitMemory limit exceeded.0
34msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?