Borderou de evaluare (job #2112620)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 23 ianuarie 2018 18:36:56
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 49

Raport evaluator

Compilare: user.cpp: In function ‘long long int getrez(long long int, long long int, bool, char)’: user.cpp:53:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] rez += frAfter1Stage[c] << (stage - 2); ^ user.cpp: In function ‘int main()’: user.cpp:64:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] frAfter1Stage[C[i]]++; ^ user.cpp:59:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d\n",&N,&Q); ^ user.cpp:60:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C + 1,100005,f); ^ user.cpp:77:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&pos); ^ 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:60:26: /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
10ms272kbCorect10
20ms272kbCorect5
30ms272kbCorect5
40ms272kbCorect5
5356ms276kbCorect5
6592ms280kbCorect5
7Depăşit272kbTime limit exceeded.0
8Depăşit276kbTime limit exceeded.0
98ms272kbCorect5
1012ms276kbCorect5
118ms272kbPartial corect2
1212ms272kbPartial corect2
13Depăşit288kbTime limit exceeded.0
14Depăşit304kbTime limit exceeded.0
15Depăşit344kbTime limit exceeded.0
16Depăşit352kbTime limit exceeded.0
17Depăşit360kbTime limit exceeded.0
18Depăşit364kbTime limit exceeded.0
19Depăşit360kbTime limit exceeded.0
Punctaj total49

Ceva nu functioneaza?