Pagini recente » Borderou de evaluare (job #1330150) | Borderou de evaluare (job #2990420) | Borderou de evaluare (job #811822) | Borderou de evaluare (job #1835906) | Borderou de evaluare (job #1628864)
Borderou de evaluare (job #1628864)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:22:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &r, &m);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s\n", p1, p2);
^
user.cpp: In function ‘int main()’:
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minerale.in", "r", stdin);
^
user.cpp:57:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minerale.out", "w", stdout);
^
user.cpp:61:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccRTimgs.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1860kb | OK | 10 |
2 | 4ms | 1860kb | OK | 10 |
3 | 4ms | 1860kb | OK | 10 |
4 | 36ms | 1868kb | OK | 10 |
5 | 16ms | 1860kb | OK | 10 |
6 | 36ms | 1860kb | OK | 10 |
7 | 28ms | 1860kb | OK | 10 |
8 | 72ms | 1868kb | OK | 10 |
9 | 124ms | 1872kb | OK | 10 |
10 | 152ms | 1868kb | OK | 10 |
Punctaj total | 100 |