Pagini recente » Borderou de evaluare (job #115971) | Borderou de evaluare (job #2133248) | Borderou de evaluare (job #1787639) | Borderou de evaluare (job #1071983) | Borderou de evaluare (job #1958881)
Borderou de evaluare (job #1958881)
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 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/ccI99Jx1.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 | 12ms | 4852kb | Incorect | 0 |
2 | 4ms | 1376kb | Incorect | 0 |
3 | 8ms | 2684kb | Incorect | 0 |
4 | 96ms | 31328kb | Incorect | 0 |
5 | 208ms | 61056kb | Incorect | 0 |
6 | 356ms | 125692kb | Killed by signal 6(SIGABRT). | 0 |
7 | 572ms | 211704kb | Killed by signal 6(SIGABRT). | 0 |
8 | 592ms | 187628kb | Killed by signal 6(SIGABRT). | 0 |
9 | 616ms | 196812kb | Killed by signal 6(SIGABRT). | 0 |
10 | 624ms | 196824kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |