Pagini recente » Borderou de evaluare (job #2218987) | Borderou de evaluare (job #558444) | Borderou de evaluare (job #297555) | Borderou de evaluare (job #3160907) | Borderou de evaluare (job #1830069)
Borderou de evaluare (job #1830069)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:159:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=0;s[j]!=NULL;j++)
^
user.cpp:216:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=2;s[j]!=NULL;j++)
^
user.cpp:148:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.in","r",stdin);
^
user.cpp:149:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.out","w",stdout);
^
user.cpp:151:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:154:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:210:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccuVhEHH.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 372kb | OK | 10 |
3 | 152ms | 672kb | OK | 10 |
4 | 164ms | 1048kb | OK | 10 |
5 | 312ms | 5880kb | OK | 10 |
6 | 284ms | 6624kb | OK | 10 |
7 | Depăşit | 4360kb | Time limit exceeded. | 0 |
8 | Depăşit | 6824kb | Time limit exceeded. | 0 |
9 | Depăşit | 7728kb | Time limit exceeded. | 0 |
10 | 1108ms | 7732kb | OK | 10 |
Punctaj total | 70 |