Borderou de evaluare (job #2060390)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 8 noiembrie 2017 10:12:31
Problema Triunghi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:25: warning: unused variable ‘a1’ [-Wunused-variable] int n,i,cnt=0,sign1,a1,a2; ^ user.cpp:39:28: warning: unused variable ‘a2’ [-Wunused-variable] int n,i,cnt=0,sign1,a1,a2; ^ user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi.in","r",stdin); ^ user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi.out","w",stdout); ^ user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:42:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y); ^ user.cpp:43:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&f.x,&f.y); ^ user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi.in","r",stdin); ^ user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:49:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y); ^ user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi.in","r",stdin); ^ user.cpp:71:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:74:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y); ^ user.cpp:83:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi.in","r",stdin); ^ user.cpp:84:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:88:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y); ^ user.cpp:93:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit360kbTime limit exceeded.0
2Depăşit360kbTime limit exceeded.0
3Depăşit360kbTime limit exceeded.0
4Depăşit364kbTime limit exceeded.0
5Depăşit356kbTime limit exceeded.0
6Depăşit360kbTime limit exceeded.0
7Depăşit356kbTime limit exceeded.0
8Depăşit360kbTime limit exceeded.0
9Depăşit356kbTime limit exceeded.0
10Depăşit360kbTime limit exceeded.0
11Depăşit356kbTime limit exceeded.0
12Depăşit356kbTime limit exceeded.0
13Depăşit360kbTime limit exceeded.0
14Depăşit364kbTime limit exceeded.0
15Depăşit360kbTime limit exceeded.0
16Depăşit360kbTime limit exceeded.0
17Depăşit356kbTime limit exceeded.0
18Depăşit360kbTime limit exceeded.0
19Depăşit364kbTime limit exceeded.0
20Depăşit364kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?