Borderou de evaluare (job #2593261)

Utilizator ivan.tudorIvan Tudor ivan.tudor Data 3 aprilie 2020 13:21:00
Problema Matrice3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d ",&n,&m,&q); ^ main.cpp:22:21: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(c+1,N,fin); ^ main.cpp:61:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d",&x1,&y1,&x2,&y2); ^ 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:22:21: /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
14ms1179kbOK10
26ms1441kbOK10
36ms1572kbOK10
4214ms8650kbOK10
5222ms8781kbOK10
6217ms8650kbOK10
7518ms8916kbOK10
8430ms8912kbOK10
9428ms9306kbOK10
10426ms8650kbOK10
Punctaj total100

Ceva nu functioneaza?