Borderou de evaluare (job #1515421)

Utilizator dyanagGrigore Diana dyanag Data 1 noiembrie 2015 16:36:32
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void schimb()’: user.cpp:12:9: warning: unused variable ‘n’ [-Wunused-variable] int n=strlen(s); ^ user.cpp: In function ‘void schimb2()’: user.cpp:75:9: warning: unused variable ‘x’ [-Wunused-variable] int x=-'A'+1; ^ user.cpp: In function ‘int fct()’: user.cpp:162:11: warning: unused variable ‘p’ [-Wunused-variable] char *p=strchr(s, s[0]); ^ user.cpp: In function ‘int main()’: user.cpp:177:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] s[strlen(s)-1]=NULL; ^ user.cpp:175:12: warning: unused variable ‘x’ [-Wunused-variable] int n, x=0; ^ user.cpp:176:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 1001, f); ^ user.cpp:178:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &n); ^ user.cpp:186:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
2Depăşit244kbTime limit exceeded.0
3Depăşit244kbTime limit exceeded.0
4Depăşit244kbTime limit exceeded.0
5Depăşit252kbTime limit exceeded.0
6Depăşit248kbTime limit exceeded.0
7Depăşit248kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?