Pagini recente » Borderou de evaluare (job #3235287) | Borderou de evaluare (job #2613436) | Borderou de evaluare (job #2779803) | Borderou de evaluare (job #1058919) | Borderou de evaluare (job #1357641)
Borderou de evaluare (job #1357641)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN, "%d", &t);
^
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN, "%d%d", &n, &k);
^
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:38:30: warning: unused variable ‘j’ [-Wunused-variable]
long long t, n, k, l, i, j;
^
user.cpp:41:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &t);
^
user.cpp:45:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d%d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 272kb | Incorect | 0 |
Punctaj total | 0 |