Borderou de evaluare (job #1218293)

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

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 (*)[100001]’ [-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 (*)[100001]’ [-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
10ms256kbOK10
20ms256kbOK10
328ms256kbOK10
4Depăşit264kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit368kbTime limit exceeded.0
7Depăşit304kbTime limit exceeded.0
8Depăşit324kbTime limit exceeded.0
9Depăşit356kbTime limit exceeded.0
10Depăşit304kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?