Pagini recente » Borderou de evaluare (job #220705) | Borderou de evaluare (job #2145430) | Borderou de evaluare (job #1406328) | Borderou de evaluare (job #812674) | Borderou de evaluare (job #1353424)
Borderou de evaluare (job #1353424)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&T);
^
user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d %d",&n,&k);
^
user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11: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:16:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Incorect | 0 |
Punctaj total | 0 |