Pagini recente » Borderou de evaluare (job #310798) | Borderou de evaluare (job #2908481) | Borderou de evaluare (job #121192) | Borderou de evaluare (job #10674) | Borderou de evaluare (job #1297330)
Borderou de evaluare (job #1297330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:9: warning: unused variable ‘currentDist’ [-Wunused-variable]
int currentDist = N;
^
user.cpp: In function ‘void citire()’:
user.cpp:23:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &N, &M);
^
user.cpp:26:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &A[i]);
^
user.cpp: In function ‘void read()’:
user.cpp:81:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (S, sizeof(S), f);
^
user.cpp: In function ‘int main()’:
user.cpp:89:12: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int a, b;
^
user.cpp:100:15: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (b - a < 30)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | Incorect | 0 |
| 2 | 0ms | 268kb | Incorect | 0 |
| 3 | 364ms | 428kb | Incorect | 0 |
| 4 | 344ms | 268kb | Incorect | 0 |
| 5 | 48ms | 960kb | Incorect | 0 |
| 6 | 28ms | 956kb | Incorect | 0 |
| 7 | 368ms | 952kb | Incorect | 0 |
| 8 | 384ms | 952kb | Incorect | 0 |
| 9 | 380ms | 960kb | Incorect | 0 |
| 10 | 380ms | 956kb | Incorect | 0 |
| Punctaj total | 0 |