Borderou de evaluare (job #662738)

Utilizator avatar ASN4999K Nuta Alexandru ASN4999K IP ascuns
Problemă Subsecvență de produs maxim Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2022 09:57:17 Scor 50

Raport evaluator

Compilare: main.cpp:449:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 449 | #import<fstream> | ^~~~~~ main.cpp: In member function 'int BigInt::operator[](int) const': main.cpp:120:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 120 | if(digits.size() <= index || index < 0) | ~~~~~~~~~~~~~~^~~~~~~~ main.cpp: In function 'BigInt& operator/=(BigInt&, const BigInt&)': main.cpp:287:24: warning: unused variable 'm' [-Wunused-variable] 287 | int n = Length(a), m = Length(b); | ^ main.cpp: In function 'BigInt& operator%=(BigInt&, const BigInt&)': main.cpp:325:24: warning: unused variable 'm' [-Wunused-variable] 325 | int n = Length(a), m = Length(b); | ^ main.cpp: At global scope: main.cpp:450:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 450 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:454:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 454 | freopen("spm.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:455:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 455 | freopen("spm.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 10 ms 118 kb OK 10
6 155 ms 118 kb Time limit exceeded 0
7 152 ms 249 kb Time limit exceeded 0
8 150 ms 245 kb Time limit exceeded 0
9 151 ms 245 kb Time limit exceeded 0
10 150 ms 245 kb Time limit exceeded 0
Punctaj total 50