Borderou de evaluare (job #2479312)

Utilizator lampa_mergatoareLampa MAGICA lampa_mergatoare Data 23 octombrie 2019 17:51:35
Problema Patrate1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:21: warning: unused variable 'rasp' [-Wunused-variable] int n, h, a, b, rasp, vmax = 0; ^~~~ main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrate1.in", "r", stdin); ^ main.cpp:15:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("patrate1.out", "w", stdout); ^ main.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &h); ^ main.cpp:21:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
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
102ms131kbOK10
Punctaj total30

Ceva nu functioneaza?