Borderou de evaluare (job #1473044)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",maxim); ^ user.cpp:8: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:9: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:10: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:11:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;++i) scanf("%d",&AI[i]); ^ user.cpp:14: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
10ms272kbOK10
20ms280kbOK10
3Depăşit320kbTime limit exceeded.0
4Depăşit280kbTime limit exceeded.0
5Depăşit468kbTime limit exceeded.0
6Depăşit472kbTime limit exceeded.0
7Depăşit464kbTime limit exceeded.0
8Depăşit464kbTime limit exceeded.0
9Depăşit472kbTime limit exceeded.0
10Depăşit468kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?