Borderou de evaluare (job #2586656)

Utilizator betybety bety bety Data 21 martie 2020 12:31:20
Problema Map Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d",&n,&m); fgets(s1,nmax,fi); ^ main.cpp:21:47: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d",&n,&m); fgets(s1,nmax,fi); ^ main.cpp:29:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s1+1,nmax,fi); ^ In file included from /usr/include/stdio.h:936:0, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:29:24: /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
12ms131kbOK5
22ms131kbOK5
32ms262kbOK5
42ms262kbOK5
52ms131kbOK5
62ms131kbOK5
72ms262kbOK5
82ms262kbOK5
932ms2883kbOK5
1040ms3276kbOK5
1138ms3145kbOK5
1248ms3801kbOK5
1344ms3538kbOK5
1442ms4194kbOK5
1544ms4194kbOK5
1647ms4194kbOK5
1752ms4194kbOK5
1852ms4194kbOK5
1951ms4194kbOK5
2048ms4194kbOK5
Punctaj total100

Ceva nu functioneaza?