Borderou de evaluare (job #1473041)

Utilizator iulianrotaruRotaru Gheorghe-Iulian iulianrotaru Data 18 august 2015 13:45:36
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",maxim); ^ user.cpp:33:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:34:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&val); ^ user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms276kbOK10
3Depăşit396kbTime limit exceeded.0
4904ms272kbOK10
5140ms784kbOK10
680ms776kbOK10
7Depăşit776kbTime limit exceeded.0
8Depăşit772kbTime limit exceeded.0
9Depăşit780kbTime limit exceeded.0
10Depăşit780kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?