Borderou de evaluare (job #1299172)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 23 decembrie 2014 15:32:14
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100005]’ [-Wformat=] fscanf(f,"%s",&s); ^ user.cpp:17:23: warning: NULL used in arithmetic [-Wpointer-arith] while (k[0]!=NULL) { ^ user.cpp:11:8: warning: unused variable ‘j’ [-Wunused-variable] {int i,j; ^ user.cpp:12:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms264kbOK10
2Depăşit264kbTime limit exceeded.0
3Depăşit276kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5Depăşit276kbTime limit exceeded.0
6Depăşit292kbTime limit exceeded.0
7Depăşit316kbTime limit exceeded.0
8Depăşit364kbTime limit exceeded.0
9Depăşit356kbTime limit exceeded.0
10Depăşit356kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?