Borderou de evaluare (job #1778048)

Utilizator silkMarin Dragos silk Data 13 octombrie 2016 12:48:29
Problema Garaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.in","r",stdin); ^ user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.out","w",stdout); ^ user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&N,&M); ^ user.cpp:37:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= N; ++i) scanf("%d %d", &x[i], &y[i]); ^ user.cpp:46:53: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = 1; i <= N; ++i) v[i] = 1LL * x[i] * ( T / ( 2 * y[i] ) ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms264kbOK10
40ms276kbOK10
5Depăşit1640kbTime limit exceeded.0
60ms260kbOK10
7Depăşit1788kbTime limit exceeded.0
8Depăşit1796kbTime limit exceeded.0
9Depăşit1804kbTime limit exceeded.0
10Depăşit1788kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?