Pagini recente » Borderou de evaluare (job #1258912) | Borderou de evaluare (job #1283453) | Borderou de evaluare (job #995826) | Borderou de evaluare (job #670377) | Borderou de evaluare (job #1249379)
Borderou de evaluare (job #1249379)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:38: warning: unused variable ‘r’ [-Wunused-variable]
int n, i = 0, x, max1, max2, k = 0, r, ok;
^
user.cpp:9:41: warning: unused variable ‘ok’ [-Wunused-variable]
int n, i = 0, x, max1, max2, k = 0, r, ok;
^
user.cpp:11:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:12:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:22:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:37:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 16ms | 244kb | OK | 10 |
6 | 36ms | 244kb | OK | 10 |
7 | 88ms | 248kb | OK | 10 |
8 | 132ms | 244kb | OK | 10 |
9 | 148ms | 244kb | OK | 10 |
10 | 172ms | 248kb | OK | 10 |
Punctaj total | 100 |