Borderou de evaluare (job #2052083)

Utilizator tifui.alexandruTifui Ioan Alexandru tifui.alexandru Data 29 octombrie 2017 22:50:43
Problema Cntper Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",ans[n]); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cntper.in","r",stdin); ^ user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cntper.out","w",stdout); ^ user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&Q); ^ user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit8156kbTime limit exceeded.0
2Depăşit8156kbTime limit exceeded.0
3Depăşit8152kbTime limit exceeded.0
4Depăşit8156kbTime limit exceeded.0
5Depăşit8152kbTime limit exceeded.0
6Depăşit8152kbTime limit exceeded.0
7Depăşit8152kbTime limit exceeded.0
8Depăşit8160kbTime limit exceeded.0
9Depăşit8152kbTime limit exceeded.0
10Depăşit8152kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?