Pagini recente » Borderou de evaluare (job #250800) | Borderou de evaluare (job #333325) | Borderou de evaluare (job #1530730) | Borderou de evaluare (job #2356950) | Borderou de evaluare (job #1393443)
Borderou de evaluare (job #1393443)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &f[i]);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.in", "r", stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.out", "w", stdout);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &f[i]);
^
user.cpp:54:24: warning: ‘seq’ may be used uninitialized in this function [-Wmaybe-uninitialized]
len += seq + 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 20 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 | 10 |
4 | 0ms | 340kb | OK | 10 | 10 |
5 | 0ms | 340kb | OK | 10 | 10 |
6 | 24ms | 1040kb | OK | 10 | 10 |
7 | 28ms | 1040kb | OK | 10 | 10 |
8 | 24ms | 1040kb | OK | 10 | 10 |
9 | 4ms | 416kb | OK | 10 | 10 |
10 | 28ms | 1040kb | OK | 10 | 10 |
Punctaj total | 100 |