Pagini recente » Borderou de evaluare (job #444541) | Borderou de evaluare (job #170937) | Borderou de evaluare (job #1109239) | Borderou de evaluare (job #1823592) | Borderou de evaluare (job #1468404)
Borderou de evaluare (job #1468404)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:49:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:52:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < N; ++i) gets(A + 64 * i);
^
user.cpp:74:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &M);
^
user.cpp:76:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A2);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:3:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:52:46:
/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/ccaUFzaE.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x3c8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 3656kb | OK | 10 |
2 | 12ms | 2376kb | OK | 10 |
3 | 48ms | 2996kb | OK | 10 |
4 | 76ms | 2992kb | OK | 10 |
5 | 96ms | 4144kb | OK | 10 |
6 | 144ms | 5296kb | OK | 10 |
7 | 196ms | 6444kb | OK | 10 |
8 | 244ms | 6548kb | OK | 10 |
9 | 244ms | 6544kb | OK | 10 |
10 | 196ms | 5340kb | OK | 10 |
Punctaj total | 100 |