Pagini recente » Borderou de evaluare (job #1068886) | Borderou de evaluare (job #956884) | Borderou de evaluare (job #133506) | Borderou de evaluare (job #1329074) | Borderou de evaluare (job #1993338)
Borderou de evaluare (job #1993338)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘i64* {aka long long int*}’ [-Wformat=]
fscanf(fin, "%d%d", &n[i], &h[i]);
^
user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘i64* {aka long long int*}’ [-Wformat=]
user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp:24:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &m);
^
user.cpp:27:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n[i], &h[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 476kb | Incorect | 0 |
Punctaj total | 0 |