Pagini recente » Borderou de evaluare (job #2939830) | Borderou de evaluare (job #122398) | Borderou de evaluare (job #2750727) | Borderou de evaluare (job #862449) | Borderou de evaluare (job #2463640)
Borderou de evaluare (job #2463640)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d", &t);
^
main.cpp:56:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d%d", &a, &b);
^
main.cpp:56:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:53:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp:54:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
main.cpp:56:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 189ms | 290kb | OK | 100 |
Punctaj total | 100 |