Pagini recente » Borderou de evaluare (job #895861) | Borderou de evaluare (job #2841951) | Borderou de evaluare (job #2790496) | Borderou de evaluare (job #1888919) | Borderou de evaluare (job #1958893)
Borderou de evaluare (job #1958893)
Raport evaluator
Compilare:
user.cpp: In member function ‘int Trie::search(char*, int)’:
user.cpp:59:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void solve()’:
user.cpp:93:25: warning: unused variable ‘crt’ [-Wunused-variable]
for (int j = 1, crt = 0; j <= k; j++) {
^
user.cpp: In function ‘void read()’:
user.cpp:74:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d\n", &n, &k, &m, &p, &q);
^
user.cpp:76:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:82:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void solve()’:
user.cpp:92:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &grad);
^
user.cpp:95:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ind);
^
user.cpp: In function ‘int main()’:
user.cpp:106:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.in", "r", stdin);
^
user.cpp:107:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.out", "w", stdout);
^
/tmp/ccG4S7qn.o: In function `read()':
user.cpp:(.text+0xe6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 4852kb | Incorect | 0 |
2 | 4ms | 1380kb | Incorect | 0 |
3 | 8ms | 2684kb | Incorect | 0 |
4 | 96ms | 31328kb | Incorect | 0 |
5 | 212ms | 61052kb | Incorect | 0 |
6 | 424ms | 126340kb | Incorect | 0 |
7 | 676ms | 212452kb | Incorect | 0 |
8 | 704ms | 188596kb | Incorect | 0 |
9 | 736ms | 197856kb | Incorect | 0 |
10 | 744ms | 197876kb | Incorect | 0 |
Punctaj total | 0 |