Borderou de evaluare (job #2582891)

Utilizator Ruxandra985Nanu Ruxandra Laura Ruxandra985 Data 17 martie 2020 14:37:18
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:120:34: warning: unused variable 'lf' [-Wunused-variable] int n , t , i , elem , idx , lf , rg , rest , j; ^~ main.cpp:120:39: warning: unused variable 'rg' [-Wunused-variable] int n , t , i , elem , idx , lf , rg , rest , j; ^~ main.cpp:123:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin,"%d%d",&n,&t); ^ main.cpp:124:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (s , DIMNR , fin); ^ main.cpp:132:36: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (s + 1 , DIMNR , fin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:132:36: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbOK10
228ms12451kbOK10
36ms1441kbOK10
431ms12713kbOK10
55ms1441kbOK10
6188ms42598kbOK10
7109ms4456kbOK10
8182ms21364kbOK10
9231ms42598kbOK10
10231ms42598kbOK10
Punctaj total100

Ceva nu functioneaza?