Pagini recente » Borderou de evaluare (job #784200) | Borderou de evaluare (job #2487980) | Borderou de evaluare (job #1294847) | Borderou de evaluare (job #2918973) | Borderou de evaluare (job #2542377)
Borderou de evaluare (job #2542377)
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 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 56ms | 1179kb | Incorect | 0 |
6 | 111ms | 2097kb | Incorect | 0 |
7 | 104ms | 2097kb | Incorect | 0 |
8 | 118ms | 2097kb | Incorect | 0 |
9 | 116ms | 2097kb | Incorect | 0 |
10 | 95ms | 2097kb | Incorect | 0 |
Punctaj total | 0 |