Borderou de evaluare (job #2085761)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 10 decembrie 2017 17:56:55
Problema Adapost Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:140:37: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%Lf%Lf", &s[i].x, &s[i].y); ^ user.cpp:140:37: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:142:37: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%Lf%Lf", &a[i].x, &a[i].y); ^ user.cpp:142:37: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:134:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.in", "r", stdin); ^ user.cpp:135:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.out", "w", stdout); ^ user.cpp:138:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:140:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%Lf%Lf", &s[i].x, &s[i].y); ^ user.cpp:142:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%Lf%Lf", &a[i].x, &a[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbRaspuns gresit!0
20ms528kbRaspuns gresit!0
3228ms8220kbRaspuns gresit!0
4540ms8444kbRaspuns gresit!0
5Depăşit10628kbTime limit exceeded.0
6Depăşit8264kbTime limit exceeded.0
7Depăşit8336kbTime limit exceeded.0
8Depăşit8468kbTime limit exceeded.0
9Depăşit10620kbTime limit exceeded.0
1056ms4288kbRaspuns gresit!0
11128ms5616kbRaspuns gresit!0
12Depăşit9084kbTime limit exceeded.0
13Depăşit9336kbTime limit exceeded.0
14Depăşit10624kbTime limit exceeded.0
15Depăşit9844kbTime limit exceeded.0
16288ms13056kbRaspuns gresit!0
17Depăşit10368kbTime limit exceeded.0
18Depăşit10604kbTime limit exceeded.0
19Depăşit10604kbTime limit exceeded.0
20Depăşit10604kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?