Pagini recente » Borderou de evaluare (job #164533) | Borderou de evaluare (job #41953) | Borderou de evaluare (job #1862530) | Borderou de evaluare (job #850998) | Borderou de evaluare (job #1789757)
Borderou de evaluare (job #1789757)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(read, "%ld", &nr);
^
user.cpp:21:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(write, "%ld\n", s);
^
user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(read, "%d", &t);
^
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(read, "%d", &n);
^
user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(read, "%ld", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1920ms | 268kb | OK | 100 |
Punctaj total | 100 |