Pagini recente » Borderou de evaluare (job #1343417) | Borderou de evaluare (job #1349916) | Borderou de evaluare (job #1349901) | Borderou de evaluare (job #1789991) | Borderou de evaluare (job #1789739)
Borderou de evaluare (job #1789739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%ld ", &x);
^
user.cpp:21:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%ld\n", sum);
^
user.cpp:12:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &t);
^
user.cpp:15:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d\n", &n);
^
user.cpp:18:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld ", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2096ms | 264kb | OK | 100 |
Punctaj total | 100 |