Borderou de evaluare (job #1803775)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 11 noiembrie 2016 20:07:48
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void lee()’: user.cpp:61:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<=q.size();j++) ^ user.cpp: In function ‘int main()’: user.cpp:82:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("\n%d", &p[i][1]); ^ user.cpp:85:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf(" %d", &p[i][j]); ^ user.cpp:77:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxe1.in", "r",stdin); ^ user.cpp:78:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxe1.out", "w",stdout); ^ user.cpp:79:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &s, &n); ^ user.cpp:82:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%d", &p[i][1]); ^ user.cpp:85:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &p[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit496kbTime limit exceeded.0
2Depăşit500kbTime limit exceeded.0
3Depăşit500kbTime limit exceeded.0
4Depăşit492kbTime limit exceeded.0
5Depăşit500kbTime limit exceeded.0
6Depăşit496kbTime limit exceeded.0
7Depăşit496kbTime limit exceeded.0
8Depăşit496kbTime limit exceeded.0
9Depăşit500kbTime limit exceeded.0
10Depăşit492kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?