Borderou de evaluare (job #1355301)

Utilizator robertstrecheStreche Robert robertstreche Data 22 februarie 2015 16:17:49
Problema Zlego Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:45:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:47:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i].h); ^ user.cpp:49:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i].c); ^ user.cpp: In function ‘int main()’: user.cpp:62:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:59:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zlego.in","r",stdin); ^ user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zlego.out","w",stdout); ^ user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp: In function ‘void solve()’: user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i].h); ^ user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i].c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms276kbIncorect0
30ms276kbIncorect0
40ms280kbIncorect0
5184ms344kbIncorect0
6184ms344kbIncorect0
7148ms352kbIncorect0
8308ms360kbIncorect0
9196ms368kbIncorect0
10476ms396kbIncorect0
11Depăşit6124kbTime limit exceeded.0
12Depăşit6120kbTime limit exceeded.0
13Depăşit6124kbTime limit exceeded.0
14Depăşit6124kbTime limit exceeded.0
15Depăşit6120kbTime limit exceeded.0
16Depăşit6124kbTime limit exceeded.0
17Depăşit6120kbTime limit exceeded.0
18Depăşit6128kbTime limit exceeded.0
19Depăşit6120kbTime limit exceeded.0
20Depăşit6120kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?