Pagini recente » Borderou de evaluare (job #2642718) | Borderou de evaluare (job #2809129) | Borderou de evaluare (job #3032127) | Borderou de evaluare (job #2674746) | Borderou de evaluare (job #1501442)
Borderou de evaluare (job #1501442)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(fin,"%d",&n);
^
user.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<n; i++)
^
user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(fout,"%d",k);
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:15:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 20ms | 284kb | Incorect | 0 |
6 | 32ms | 284kb | Incorect | 0 |
7 | 40ms | 288kb | Incorect | 0 |
8 | 40ms | 284kb | Incorect | 0 |
9 | 44ms | 280kb | Incorect | 0 |
10 | 44ms | 284kb | Incorect | 0 |
Punctaj total | 0 |