Pagini recente » Borderou de evaluare (job #365721) | Borderou de evaluare (job #1595599) | Borderou de evaluare (job #2687334) | Borderou de evaluare (job #688033) | Borderou de evaluare (job #1752811)
Borderou de evaluare (job #1752811)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[ ++K[ a[lin][ ord[i] ] ] ][ a[lin][ ord[i] ] ] = i;
^
user.cpp:74:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[ ++K[ a[lin][ ord[i] ] ] ][ a[lin][ ord[i] ] ] = i;
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.out", "w", stdout);
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:58:32: 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:61:27: 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 ‘int main()’ at user.cpp:61:27:
/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/cc0BaFXm.o: In function `main':
user.cpp:(.text.startup+0xd9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 548kb | OK | 10 | 0 |
2 | 0ms | 540kb | Incorect | 0 |
3 | 72ms | 808kb | OK | 10 | 20 |
4 | 80ms | 772kb | OK | 10 |
5 | 212ms | 1036kb | OK | 10 | 20 |
6 | 208ms | 1028kb | OK | 10 |
7 | 336ms | 1136kb | OK | 10 | 10 |
8 | 488ms | 1252kb | OK | 10 | 30 |
9 | 896ms | 1548kb | OK | 10 |
10 | 900ms | 1552kb | OK | 10 |
Punctaj total | 80 |