Borderou de evaluare (job #1707589)

Utilizator LucianTLucian Trepteanu LucianT Data 25 mai 2016 16:54:50
Problema Ratphu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%lld %d",&n,&p); ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.in","r",stdin); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.out","w",stdout); ^ user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %d",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
20ms460kbOK10
30ms484kbOK10
44ms600kbOK10
512ms1052kbOK10
684ms2880kbOK10
7204ms5308kbOK10
8436ms10172kbOK10
9Depăşit19860kbTime limit exceeded.0
10Depăşit19852kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?