Nu aveti permisiuni pentru a descarca fisierul grader_test10.ok

Borderou de evaluare (job #2127779)

Utilizator brczBereczki Norbert Cristian brcz Data 10 februarie 2018 23:54:05
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int prs(int)’: user.cpp:14:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C + 1, 10005, f); ^ user.cpp: In function ‘int main()’: user.cpp:35:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d %d %d\n",&x0,&a,&b,&m,&q); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/5/cstdio:42, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int prs(int)’ at user.cpp:14:24: /usr/include/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
10ms1332kbOK10
20ms1328kbIncorect0
30ms1332kbIncorect0
432ms1328kbIncorect0
5Depăşit1320kbTime limit exceeded.0
6Depăşit1316kbTime limit exceeded.0
7Depăşit1316kbTime limit exceeded.0
8Depăşit1316kbTime limit exceeded.0
9Depăşit1316kbTime limit exceeded.0
10Depăşit1316kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?