Pagini recente » Borderou de evaluare (job #356075) | Borderou de evaluare (job #718671) | Borderou de evaluare (job #1452480) | Borderou de evaluare (job #983624) | Borderou de evaluare (job #2542376)
Borderou de evaluare (job #2542376)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&n);
^
main.cpp:18:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&a[i]);
^
main.cpp:22:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&b[i]);
^
main.cpp:35:27: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=]
fprintf(fout,"%u",suma);
^
main.cpp:15:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:18:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i]);
^
main.cpp:22:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 55ms | 1110kb | Incorect | 0 |
6 | 109ms | 2097kb | Incorect | 0 |
7 | 95ms | 2097kb | Incorect | 0 |
8 | 115ms | 2097kb | Incorect | 0 |
9 | 115ms | 2097kb | Incorect | 0 |
10 | 95ms | 2097kb | Incorect | 0 |
Punctaj total | 0 |