Pagini recente » Borderou de evaluare (job #194508) | Borderou de evaluare (job #1981617) | Borderou de evaluare (job #1589575) | Borderou de evaluare (job #1759513) | Borderou de evaluare (job #592061)
Borderou de evaluare (job #592061)
Raport evaluator
Compilare:
user.cpp: In function ‘int swap(int, int)’:
user.cpp:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:23:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&A[i]);
^
user.cpp:28:19: warning: operation on ‘i’ may be undefined [-Wsequence-point]
A[i+1] += A[i++];
^
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d ",MAX);
^
user.cpp:21:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d ",&N);
^
user.cpp:23:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 4ms | 344kb | Incorect | 0 |
5 | 40ms | 1048kb | Incorect | 0 |
6 | 416ms | 6516kb | Incorect | 0 |
7 | 292ms | 7300kb | Incorect | 0 |
8 | 460ms | 7296kb | Incorect | 0 |
9 | 492ms | 8072kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |