Borderou de evaluare (job #1218292)

Utilizator LiquironIvan Liviu-Marian Liquiron Data 10 august 2014 13:32:38
Problema Joben Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[101]’ [-Wformat=] fscanf(f, "%s\n%s\n", &a, &b); ^ user.cpp:26:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[101]’ [-Wformat=] user.cpp:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < strlen(a); j++) ^ user.cpp:38:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < strlen(b); j++) ^ user.cpp:22:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d\n", &t); ^ user.cpp:26:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n%s\n", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms248kbOK10
332ms244kbKilled by signal 11(SIGSEGV).0
412ms240kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms228kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?