Borderou de evaluare (job #1744911)

Utilizator vladc096Vlad Cincean vladc096 Data 20 august 2016 18:38:47
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:75:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=] fscanf(f, "%s", &sir1); ^ user.cpp:76:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=] fscanf(f, "%s", &sir2); ^ user.cpp:83:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(sir1); ++i) { ^ user.cpp:73:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &T); ^ user.cpp:75:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &sir1); ^ user.cpp:76:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &sir2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
312ms260kbOK10
4Depăşit276kbTime limit exceeded.0
5Depăşit272kbTime limit exceeded.0
6Depăşit376kbTime limit exceeded.0
7Depăşit312kbTime limit exceeded.0
8Depăşit332kbTime limit exceeded.0
9Depăşit360kbTime limit exceeded.0
10Depăşit312kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?