Borderou de evaluare (job #2553371)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 februarie 2020 21:43:22
Problema Blas Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (p < str.length() and str[p] == '1') ~~^~~~~~~~~~~~~~ main.cpp:45:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (p < str.length() and str[p] == '0') ~~^~~~~~~~~~~~~~ main.cpp:56:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i <= aux.length(); ++i) { ~~^~~~~~~~~~~~~~~ main.cpp:57:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == aux.length() or (i > 0 and aux[i] == '1' and aux[i - 1] == '0')) { ~~^~~~~~~~~~~~~~~ main.cpp:61:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i != aux.length()) ~~^~~~~~~~~~~~~~~ main.cpp:23:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("blas.in", "r", stdin); ^ main.cpp:24:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("blas.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK100
Punctaj total100

Ceva nu functioneaza?