Borderou de evaluare (job #2772037)

Utilizator arsy19Homentcovschi Andrei arsy19 Data 30 august 2021 15:47:48
Problema Lsort Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d",n); ^ main.cpp:59:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d",x); ^ main.cpp:53:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lsort.in","r",stdin); ^ main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lsort.out","w",stdout); ^ main.cpp:56:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",n); ^ main.cpp:59:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",x); ^ main.cpp:59:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d",x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
113ms131kbKilled by Signal 110
123ms131kbKilled by Signal 110
133ms131kbKilled by Signal 110
143ms131kbKilled by Signal 110
152ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?