Borderou de evaluare (job #1990673)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 12 iunie 2017 22:34:37
Problema Telecab Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 34

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&k,&s); ^ user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("telecab.in","r",stdin); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("telecab.out","w",stdout); ^ user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&s); ^ user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&h[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms524kbCorect !10
20ms544kbValoare incorecta cerinta 2 !2
30ms1000kbValoare incorecta cerinta 2 !2
40ms1224kbCorect !10
50ms504kbCorect !10
620msDepăşitMemory limit exceeded.0
728msDepăşitMemory limit exceeded.0
832msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total34

Ceva nu functioneaza?