Borderou de evaluare (job #2438431)

Utilizator cristinaveraCristina Verdeata cristinavera Data 12 iulie 2019 15:16:08
Problema Abba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d ",dir.size()+1); ^ main.cpp:64:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<dir.size();i++) ~^~~~~~~~~~~ main.cpp:12:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abba.in","r",stdin); ^ main.cpp:13:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("abba.out","w",stdout); ^ main.cpp:15:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ main.cpp:20:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(ch+1,1000003,stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
132ms8126kbOK1010
262ms8126kbOK1020
362ms8126kbOK10
434ms8126kbOK1010
554ms9043kbOK1030
653ms8912kbOK10
761ms9437kbOK10
872ms10477kbOK1030
994ms16760kbOK10
10110ms11653kbOK10
Punctaj total100

Ceva nu functioneaza?