Pagini recente » Borderou de evaluare (job #1038441) | Cod sursa (job #2412103) | Borderou de evaluare (job #2062214) | Borderou de evaluare (job #2181634) | Borderou de evaluare (job #1723734)
Borderou de evaluare (job #1723734)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, s, t, x, y, maxi;
^
user.cpp:48:21: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, s, t, x, y, maxi;
^
user.cpp:48:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, x, y, maxi;
^
user.cpp:45:34: 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:46:36: 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:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:51:55: 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",&nodVal[ i ]);
^
user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 936kb | OK | 10 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 8ms | 808kb | OK | 10 |
8 | 16ms | 940kb | OK | 10 |
9 | 16ms | 940kb | OK | 10 |
10 | 16ms | 940kb | OK | 10 |
Punctaj total | 100 |