Pagini recente » Borderou de evaluare (job #2609732) | Borderou de evaluare (job #2084559) | Borderou de evaluare (job #501993) | Borderou de evaluare (job #1865581) | Borderou de evaluare (job #1780128)
Borderou de evaluare (job #1780128)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:9:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:20:12: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, i, a, b, my_max;
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "asmax.in", "r", stdin );
^
user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "asmax.out", "w", stdout );
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d", &n );
^
user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d", &v[i] );
^
user.cpp:27:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d", &a, &b );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 884kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 8ms | 768kb | OK | 10 |
8 | 16ms | 872kb | OK | 10 |
9 | 20ms | 876kb | OK | 10 |
10 | 16ms | 884kb | OK | 10 |
Punctaj total | 100 |