Borderou de evaluare (job #2060414)

Utilizator VladG26Ene Vlad-Mihai VladG26 Data 8 noiembrie 2017 10:58:02
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:36:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=] scanf("%s",&sol); ^ user.cpp: In function ‘void lee(int, int, char*)’: user.cpp:63:43: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] dir[strlen(dir)-1]=NULL; ^ user.cpp: In function ‘void citire()’: user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&sol); ^ user.cpp: In function ‘int main()’: user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.in","r",stdin); ^ user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit400kbTime limit exceeded.0
2Depăşit412kbTime limit exceeded.0
3Depăşit400kbTime limit exceeded.0
4Depăşit400kbTime limit exceeded.0
5Depăşit404kbTime limit exceeded.0
6Depăşit408kbTime limit exceeded.0
7Depăşit420kbTime limit exceeded.0
8Depăşit412kbTime limit exceeded.0
9Depăşit432kbTime limit exceeded.0
10Depăşit416kbTime limit exceeded.0
11Depăşit420kbTime limit exceeded.0
12Depăşit440kbTime limit exceeded.0
13Depăşit432kbTime limit exceeded.0
14Depăşit432kbTime limit exceeded.0
15Depăşit432kbTime limit exceeded.0
16Depăşit424kbTime limit exceeded.0
17Depăşit456kbTime limit exceeded.0
18Depăşit440kbTime limit exceeded.0
19Depăşit420kbTime limit exceeded.0
20Depăşit444kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?