Borderou de evaluare (job #1874384)

Utilizator mihai.alphamihai craciun mihai.alpha Data 9 februarie 2017 22:49:55
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:126:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int i = 2;i <= N;i++) ^ user.cpp:127:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int j = i + 1;j <= N;j++) ^ user.cpp:128:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int k = j + 1;k <= N;k++) { ^ user.cpp:129:37: warning: narrowing conversion of ‘i’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] int nr1[] = {i, j, k}; ^ user.cpp:129:37: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp:129:37: warning: narrowing conversion of ‘k’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp: In function ‘char next()’: user.cpp:18:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, BUF, fin), pos = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK!10
20ms256kbWrong answer!0
30ms256kbOK!10
44ms252kbWrong answer!0
58ms252kbWrong answer!0
624ms264kbOK!10
7196ms272kbWrong answer!0
8Depăşit240kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit232kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?