Pagini recente » Borderou de evaluare (job #509817) | Cod sursa (job #2016102) | Borderou de evaluare (job #2762112) | Borderou de evaluare (job #1205864) | Borderou de evaluare (job #1249380)
Borderou de evaluare (job #1249380)
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 | 248kb | OK | 10 |
| 5 | 16ms | 248kb | OK | 10 |
| 6 | 36ms | 252kb | OK | 10 |
| 7 | 84ms | 252kb | OK | 10 |
| 8 | 140ms | 252kb | OK | 10 |
| 9 | 144ms | 248kb | OK | 10 |
| 10 | 172ms | 248kb | OK | 10 |
| Punctaj total | 100 |