Borderou de evaluare (job #2249739)

Utilizator ivan.tudorIvan Tudor ivan.tudor Data 30 septembrie 2018 10:55:50
Problema Balbaiala Status done
Runda Algoritmiada 2018 Runda Finala Juniori Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d ",&n,&q); ^ user.cpp:37:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(c+1,N,fin); ^ user.cpp:39:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(b+1,3*N,fin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/locale_classes.h:40, from /usr/include/c++/6/bits/ios_base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:37:21: /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); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:39:25: /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); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1332kbOK1020
20ms1328kbOK10
3432ms1332kbOK100
4Depăşit1332kbTime limit exceeded.0
5Depăşit1356kbTime limit exceeded.00
6Depăşit1352kbTime limit exceeded.0
7Depăşit1356kbTime limit exceeded.0
84ms1748kbKilled by signal 6(SIGABRT).00
94ms1744kbKilled by signal 6(SIGABRT).0
104ms1740kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?