Borderou de evaluare (job #1765210)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 26 septembrie 2016 13:50:04
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:35: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:35:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:37: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:37: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:35: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:37: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ăşit252kbTime limit exceeded.0
2Depăşit256kbTime limit exceeded.0
3Depăşit252kbTime limit exceeded.0
4Depăşit252kbTime limit exceeded.0
5Depăşit248kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
7Depăşit248kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
11Depăşit248kbTime limit exceeded.0
12Depăşit248kbTime limit exceeded.0
13Depăşit252kbTime limit exceeded.0
14Depăşit248kbTime limit exceeded.0
15Depăşit252kbTime limit exceeded.0
16Depăşit252kbTime limit exceeded.0
17Depăşit252kbTime limit exceeded.0
18Depăşit252kbTime limit exceeded.0
19Depăşit256kbTime limit exceeded.0
20Depăşit252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?