Borderou de evaluare (job #1353722)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 21 februarie 2015 14:38:33
Problema Por Costel si Cifrul Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:63:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 1; k < I[j].size(); ++k) ^ user.cpp:75:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",rez); ^ user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&N,&M,&K,&D); ^ user.cpp:36:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&cod[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:87:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifrul.in","r",stdin); ^ user.cpp:88:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifrul.out","w",stdout); ^ user.cpp:91:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tst); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbIncorect0
Punctaj total0

Ceva nu functioneaza?