Borderou de evaluare (job #2449996)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 21 august 2019 14:15:31
Problema Mincinosi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rasp[i].size() + i == n) ~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:33:36: 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\n", rasp[i].size()); ^ main.cpp:35:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < rasp[i].size(); ++j) ~~^~~~~~~~~~~~~~~~ main.cpp:16:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mincinosi.in", "r", stdin); ^ main.cpp:17:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mincinosi.out", "w", stdout); ^ main.cpp:20:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:25:20: 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
133ms20496kbMemory limit exceeded0
233ms20496kbMemory limit exceeded0
333ms20496kbMemory limit exceeded0
433ms20496kbMemory limit exceeded0
533ms20496kbMemory limit exceeded0
636ms20496kbMemory limit exceeded0
733ms20496kbMemory limit exceeded0
836ms20496kbMemory limit exceeded0
936ms20496kbMemory limit exceeded0
1038ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?