Borderou de evaluare (job #1790425)

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

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/ccxptJMF.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
124ms3576kbOK!1032
236ms3928kbOK!10
328ms3716kbOK!12
4856ms18444kbOK!714
5604ms18452kbOK!7
6688ms18252kbOK!1351
78ms1912kbOK!13
8700ms17840kbOK!13
9572ms18464kbOK!10
10736ms18448kbOK!2
11580ms18436kbOK!33
Punctaj total100

Ceva nu functioneaza?