Borderou de evaluare (job #1672358)

Utilizator andreiudilaUdila Andrei andreiudila Data 2 aprilie 2016 17:18:12
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘void insert(char*, std::vector<int>&)’: user.cpp:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(w);++i) ^ user.cpp: In function ‘int main()’: user.cpp:60:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[2005]’ [-Wformat=] scanf("%s", &w); ^ user.cpp:83:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(v[x].size()<lgmin) lgmin=v[x].size(); ^ user.cpp:96:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k=0;k<cuv.size();++k) ^ user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.in","r",stdin); ^ user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.out","w",stdout); ^ user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:60:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &w); ^ user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nrq); ^ user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1776kbTime limit exceeded.0
2Depăşit1772kbTime limit exceeded.0
328ms1132kbOK5
428ms1132kbOK5
532ms1100kbOK5
628ms1100kbOK5
7324ms2924kbOK5
8324ms2992kbOK5
9324ms2980kbOK5
10Depăşit1772kbTime limit exceeded.0
11Depăşit1588kbTime limit exceeded.0
12Depăşit1992kbTime limit exceeded.0
13Depăşit1788kbTime limit exceeded.0
14Depăşit2016kbTime limit exceeded.0
15Depăşit1788kbTime limit exceeded.0
16248ms1776kbOK5
17Depăşit1916kbTime limit exceeded.0
18400ms1976kbOK5
19Depăşit1840kbTime limit exceeded.0
20Depăşit1836kbTime limit exceeded.0
Punctaj total45

Ceva nu functioneaza?