Borderou de evaluare (job #1744568)

Utilizator vladc096Vlad Cincean vladc096 Data 19 august 2016 22:45:18
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
10ms280kbOK10
20ms284kbOK10
316ms292kbOK10
4Depăşit304kbTime limit exceeded.0
5Depăşit304kbTime limit exceeded.0
6Depăşit408kbTime limit exceeded.0
7Depăşit344kbTime limit exceeded.0
8Depăşit360kbTime limit exceeded.0
9Depăşit396kbTime limit exceeded.0
10Depăşit348kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?