Borderou de evaluare (job #1764139)

Utilizator CataFetoiuFetoiu Catalin CataFetoiu Data 25 septembrie 2016 00:33:05
Problema Frumusete Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int count(std::string, int)’: user.cpp:64:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < bits.length(); i++) ^ user.cpp:71:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(bits[i] == '1' || i == bits.length() - 1) ^ user.cpp: In function ‘int main()’: user.cpp:100:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(line); ^ /tmp/cc37uGq3.o: In function `main': user.cpp:(.text.startup+0xd4): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit12432kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?