Pagini recente » Borderou de evaluare (job #2230688) | Borderou de evaluare (job #2542634) | Borderou de evaluare (job #322587) | Borderou de evaluare (job #626714) | Borderou de evaluare (job #1353291)
Borderou de evaluare (job #1353291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d", &t);
^
user.cpp:41:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.cpp:44:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld", &n);
^
user.cpp:46:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld", ¤t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 256ms | 432kb | Incorect | 0 |
Punctaj total | 0 |