Pagini recente » Borderou de evaluare (job #2607620) | Borderou de evaluare (job #478787) | Borderou de evaluare (job #2815751) | Borderou de evaluare (job #1653795) | Borderou de evaluare (job #2542374)
Borderou de evaluare (job #2542374)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned 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 unsigned 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 | 55ms | 1179kb | Incorect | 0 |
6 | 111ms | 2097kb | Incorect | 0 |
7 | 99ms | 2097kb | Incorect | 0 |
8 | 118ms | 2097kb | Incorect | 0 |
9 | 123ms | 2097kb | Incorect | 0 |
10 | 101ms | 2097kb | Incorect | 0 |
Punctaj total | 0 |