Borderou de evaluare (job #1261466)

Utilizator mirceadinoMircea Popoveniuc mirceadino Data 12 noiembrie 2014 13:11:43
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In member function ‘Huge Huge::operator+(int)’: user.cpp:71:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < cifre.size(); i++) { ^ user.cpp: In member function ‘Huge Huge::operator+(Huge)’: user.cpp:87:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < max(cifre.size(), B.cifre.size()); i++) { ^ user.cpp:88:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i >= cifre.size()) a = 0; ^ user.cpp:90:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i >= B.cifre.size()) b = 0; ^ user.cpp: In member function ‘Huge Huge::operator*(int)’: user.cpp:110:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < cifre.size(); i++) { ^ user.cpp: In function ‘int main()’: user.cpp:153:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(inputFile.c_str(), "r", stdin); ^ user.cpp:154:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outputFile.c_str(), "w", stdout); ^ user.cpp:157:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:160:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ user.cpp:169:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbOK!10
20ms472kbOK!10
3112ms4416kbOK!10
476ms3196kbOK!10
584ms3192kbOK!10
64ms600kbOK!10
780ms3336kbOK!10
888ms3480kbOK!10
90ms548kbOK!10
10100ms4992kbOK!10
Punctaj total100

Ceva nu functioneaza?