Pagini recente » Borderou de evaluare (job #1508851) | Borderou de evaluare (job #2183896) | Borderou de evaluare (job #2664524) | Borderou de evaluare (job #1140853) | Borderou de evaluare (job #1563559)
Borderou de evaluare (job #1563559)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:10: warning: unused variable ‘enter’ [-Wunused-variable]
bool enter, ok;
^
user.cpp:16:17: warning: unused variable ‘ok’ [-Wunused-variable]
bool enter, ok;
^
user.cpp:17:9: warning: unused variable ‘pr’ [-Wunused-variable]
int pr, dif;
^
user.cpp:17:13: warning: unused variable ‘dif’ [-Wunused-variable]
int pr, dif;
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "rt", stdin);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "wt", stdout);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int T; scanf("%d\n", &T);
^
user.cpp:20:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1); n = strlen(s + 1);
^
/tmp/ccKbzZfZ.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 520kb | OK | 10 |
4 | 28ms | 2740kb | OK | 10 |
5 | 8ms | 924kb | OK | 10 |
6 | 16ms | 1668kb | OK | 10 |
7 | 52ms | 3692kb | OK | 10 |
8 | 80ms | 5264kb | OK | 10 |
9 | 4ms | 760kb | OK | 10 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 100 |