Borderou de evaluare (job #1238766)

Utilizator Alex_dudeDudescu Alexandru Alex_dude Data 7 octombrie 2014 17:56:37
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:25:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] if(l[i]==lm){printf("%d ",a[i]);lm--;} ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms224kbWall time limit exceeded.00
20ms224kbWall time limit exceeded.00
30ms244kbLungime incorecta!00
40ms224kbWall time limit exceeded.00
50ms224kbWall time limit exceeded.00
60ms224kbWall time limit exceeded.00
70ms224kbWall time limit exceeded.00
80ms224kbWall time limit exceeded.00
90ms220kbWall time limit exceeded.0
100ms224kbWall time limit exceeded.0
Punctaj total0

Ceva nu functioneaza?