Borderou de evaluare (job #1791289)

Utilizator DanyBvGeorge-Daniel Gagiu DanyBv Data 29 octombrie 2016 11:23:52
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i <= n; i++) ^ user.cpp:15:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= n; i++) ^ user.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i + 1; j <= n; j++) ^ user.cpp:18:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int l = 1; l < n; l++) ^ user.cpp:19:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1, j = l + 1; i <= n - 1 && j <= n; i++, j++) ^ user.cpp:19:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1, j = l + 1; i <= n - 1 && j <= n; i++, j++) ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("podm.in", "r", stdin ); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("podm.out", "w", stdout); ^ user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu", &n); ^ user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu", &d[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms452kbOK10
30ms516kbOK10
40ms588kbOK10
50ms636kbOK10
60ms844kbOK10
720ms1252kbOK10
876ms1668kbOK10
9184ms2068kbOK10
10368ms2480kbOK10
Punctaj total100

Ceva nu functioneaza?