Pagini recente » Borderou de evaluare (job #2032714) | Borderou de evaluare (job #3117679) | Cod sursa (job #3158062) | Borderou de evaluare (job #1365200) | Borderou de evaluare (job #1836383)
Borderou de evaluare (job #1836383)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:12: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, i, j, k, s, ans;
^
user.cpp:17:24: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int n, m, i, j, k, s, ans;
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.in","r",stdin);
^
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.out","w",stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d",&n );
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d",&v[ i ] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 280kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 4ms | 276kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |