Borderou de evaluare (job #2085758)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 10 decembrie 2017 17:50:43
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
10ms624kbRaspuns gresit!0
2Depăşit676kbTime limit exceeded.0
3Depăşit8212kbTime limit exceeded.0
4Depăşit8456kbTime limit exceeded.0
5Depăşit10636kbTime limit exceeded.0
6Depăşit8280kbTime limit exceeded.0
7Depăşit8348kbTime limit exceeded.0
8Depăşit8476kbTime limit exceeded.0
9Depăşit10632kbTime limit exceeded.0
10Depăşit8048kbTime limit exceeded.0
11Depăşit10572kbTime limit exceeded.0
12Depăşit9104kbTime limit exceeded.0
13Depăşit9348kbTime limit exceeded.0
14Depăşit10636kbTime limit exceeded.0
15Depăşit9856kbTime limit exceeded.0
16Depăşit20424kbTime limit exceeded.0
17Depăşit10380kbTime limit exceeded.0
18Depăşit10624kbTime limit exceeded.0
19Depăşit10616kbTime limit exceeded.0
20Depăşit10624kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?