Pagini recente » Borderou de evaluare (job #1140008) | Borderou de evaluare (job #3307505) | Borderou de evaluare (job #1222561) | Borderou de evaluare (job #1545618) | Borderou de evaluare (job #2035059)
Borderou de evaluare (job #2035059)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:14:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf( fin , "%d" , &T );
^
user.c:17:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf( fin , "%d %d\n" , &n, &k );
^
user.c:17:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=]
user.c:34:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf( fout , "%d\n" , ans );
^
user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin , "%d" , &T );
^
user.c:17:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin , "%d %d\n" , &n, &k );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 832ms | 8084kb | Incorect | 0 |
| Punctaj total | 0 |