Borderou de evaluare (job #1817874)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 28 noiembrie 2016 16:53:52
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:19:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&cost[i].first,&cost[i].second); ^ user.cpp:19:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] 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("hacker3.in","r",stdin); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:19:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&cost[i].first,&cost[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbIncorect00
20ms428kbIncorect00
30ms432kbIncorect00
40ms428kbIncorect00
50ms460kbIncorect00
60ms456kbIncorect00
70ms460kbIncorect00
80ms464kbIncorect00
94msDepăşitMemory limit exceeded.00
104msDepăşitMemory limit exceeded.0
114msDepăşitMemory limit exceeded.0
124msDepăşitMemory limit exceeded.0
134msDepăşitMemory limit exceeded.0
144msDepăşitMemory limit exceeded.0
150msDepăşitMemory limit exceeded.00
160msDepăşitMemory limit exceeded.0
170msDepăşitMemory limit exceeded.0
180msDepăşitMemory limit exceeded.0
190msDepăşitMemory limit exceeded.0
200msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?