Borderou de evaluare (job #1200495)

Utilizator romykPrehari Romica romyk Data 22 iunie 2014 17:14:21
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int tryc(int, int, int, int)’: user.cpp:36:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:59:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100]’ [-Wformat=] { fscanf(f,"%s\n",&line); ^ user.cpp:57:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i\n",&n); ^ user.cpp:59:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] { fscanf(f,"%s\n",&line); ^ user.cpp:84:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzeu.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
2Depăşit448kbTime limit exceeded.0
3Depăşit600kbTime limit exceeded.0
4Depăşit1120kbTime limit exceeded.0
5Depăşit408kbTime limit exceeded.0
6Depăşit412kbTime limit exceeded.0
7Depăşit4336kbTime limit exceeded.0
8Depăşit480kbTime limit exceeded.0
9Depăşit4548kbTime limit exceeded.0
10Depăşit408kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?