Pagini recente » Borderou de evaluare (job #3290942) | Borderou de evaluare (job #2615315) | Borderou de evaluare (job #508030) | Borderou de evaluare (job #3254384) | Borderou de evaluare (job #2721340)
Borderou de evaluare (job #2721340)
Raport evaluator
Compilare:
main.cpp: In function 'void scanare(long long int, FILE*)':
main.cpp:8:25: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f, "%ld", &a[i]);
^
main.cpp: In function 'void afis(FILE*)':
main.cpp:74:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g, "%ld ", is[i]);
^
main.cpp: In function 'int main()':
main.cpp:83:24: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f, "%ld", &T);
^
main.cpp:86:29: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f, "%ld%ld", &n, &k);
^
main.cpp:86:29: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp: In function 'void scanare(long long int, FILE*)':
main.cpp:8:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld", &a[i]);
^
main.cpp: In function 'int main()':
main.cpp:83:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld", &T);
^
main.cpp:86:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld%ld", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 228ms | 3145kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |