Pagini recente » Borderou de evaluare (job #2307000) | Borderou de evaluare (job #2862148) | Borderou de evaluare (job #2552314) | Borderou de evaluare (job #1620765) | Borderou de evaluare (job #1352162)
Borderou de evaluare (job #1352162)
Raport evaluator
Compilare:
user.cpp: In function ‘int dpkt(int)’:
user.cpp:107:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int wpkt(int)’:
user.cpp:114:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void modify(int, int)’:
user.cpp:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:15:31: note: in definition of macro ‘FOR’
#define FOR(i,v)for(int i=0;i<v;i++)
^
user.cpp:153:11: note: in expansion of macro ‘sz’
FOR(ii,v.sz)
^
user.cpp: In function ‘int main()’:
user.cpp:215:8: warning: unused variable ‘typ’ [-Wunused-variable]
char typ[3];
^
user.cpp:175:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinball.in", "r", stdin);
^
user.cpp:176:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinball.out", "w", stdout);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define CZ(x) scanf("%d",&(x));
^
user.cpp:178:6: note: in expansion of macro ‘CZ’
CZ(n);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define CZ(x) scanf("%d",&(x));
^
user.cpp:181:17: note: in expansion of macro ‘CZ’
REP(i,1,n) CZ(a[i]);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define CZ(x) scanf("%d",&(x));
^
user.cpp:182:6: note: in expansion of macro ‘CZ’
CZ(m);
^
user.cpp:219:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 540ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |