Borderou de evaluare (job #1790416)

Utilizator akaprosAna Kapros akapros Data 28 octombrie 2016 11:02:22
Problema Gravity Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 14

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:25:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i] + 1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:25:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccx7yU18.o: In function `read()': user.cpp:(.text+0x75): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms3576kbIncorect!00
228ms3924kbIncorect!0
324ms3712kbIncorect!0
4588ms18448kbOK!714
5616ms18452kbOK!7
6640ms18248kbIncorect!00
78ms1912kbIncorect!0
8636ms17840kbIncorect!0
9544ms18464kbIncorect!0
10688ms18452kbIncorect!0
11540ms18432kbIncorect!00
Punctaj total14

Ceva nu functioneaza?