Borderou de evaluare (job #1765349)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 26 septembrie 2016 17:41:03
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f, "%d %d\n", &n, &K); ^ user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:23:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f, "%d %d\n", &x, &y); ^ user.cpp:23:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f, "%d %d\n", &n, &K); ^ user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] fscanf(f, "%d %d\n", &x, &y); ^ user.cpp:38:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &K); ^ user.cpp:23:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^ user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &K); ^ user.cpp:38:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit248kbTime limit exceeded.0
2Depăşit252kbTime limit exceeded.0
3Depăşit248kbTime limit exceeded.0
4Depăşit252kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit252kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
11Depăşit252kbTime limit exceeded.0
12Depăşit248kbTime limit exceeded.0
13Depăşit252kbTime limit exceeded.0
14Depăşit252kbTime limit exceeded.0
15Depăşit248kbTime limit exceeded.0
16Depăşit252kbTime limit exceeded.0
17Depăşit252kbTime limit exceeded.0
18Depăşit252kbTime limit exceeded.0
19Depăşit248kbTime limit exceeded.0
20Depăşit248kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?