Pagini recente » Borderou de evaluare (job #3255884) | Borderou de evaluare (job #2729792) | Borderou de evaluare (job #2941087) | Borderou de evaluare (job #3257847) | Borderou de evaluare (job #1441525)
Borderou de evaluare (job #1441525)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:27: warning: unused variable ‘rez’ [-Wunused-variable]
int t, sir[50001], n, k, rez[50001], i, j;
^
user.cpp:9:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d", &t);
^
user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &k);
^
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &sir[1]);
^
user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &sir[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |