Borderou de evaluare (job #2533432)

Utilizator Mc_TaviMacovei Octavian-Cosmin Mc_Tavi Data 28 ianuarie 2020 23:53:09
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:21: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'ull* {aka long long unsigned int*}' [-Wformat=] scanf("%ull", &n); ^ main.cpp:12:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < n; ++i) { ~~^~~ main.cpp:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < n-2; ++i) { ~~^~~~~ main.cpp:27:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < n-3; ++i) { ~~^~~~~ main.cpp:28:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i+2; j < n; ++j) { ~~^~~ main.cpp:11:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ull", &n); ^ main.cpp:14:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &temp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?