Pagini recente » Borderou de evaluare (job #3248915) | Borderou de evaluare (job #2423281) | Borderou de evaluare (job #2619629) | Borderou de evaluare (job #2772640) | Borderou de evaluare (job #2577394)
Borderou de evaluare (job #2577394)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:60:60: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (read_idx > BUF_SIZE) { fgets(reader, BUF_SIZE, stdin); read_idx = 0; }
^
main.cpp:69:60: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (read_idx > BUF_SIZE) { fgets(reader, BUF_SIZE, stdin); read_idx = 0; }
^
main.cpp: In function 'int main()':
main.cpp:99:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
main.cpp:100:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
main.cpp:102:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:106:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]); p.pb(a[i]); p_dp[i] = -1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 262kb | Lungime incorecta! | 0 | 0 |
2 | 6ms | 786kb | Corect! | 10 | 10 |
3 | 3ms | 262kb | Corect! | 10 | 10 |
4 | 3ms | 262kb | Corect! | 10 | 10 |
5 | 3ms | 262kb | Corect! | 10 | 10 |
6 | 4ms | 524kb | Corect! | 10 | 10 |
7 | 5ms | 786kb | Corect! | 10 | 10 |
8 | 218ms | 19812kb | Corect! | 10 | 0 |
9 | 300ms | 19812kb | Time limit exceeded | 0 |
10 | 182ms | 19812kb | Corect! | 10 |
Punctaj total | 60 |