Pagini recente » Borderou de evaluare (job #1618154) | Borderou de evaluare (job #510962) | Borderou de evaluare (job #2729397) | Borderou de evaluare (job #302231) | Borderou de evaluare (job #1864601)
Borderou de evaluare (job #1864601)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:46:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
user.cpp:51:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:74:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
user.cpp:48:28: warning: iteration 22u invokes undefined behavior [-Waggressive-loop-optimizations]
sir[i]=sir1[i-l];
^
user.cpp:47:9: note: containing loop
for(int i=l+1;i<=l+64;i++)
^
/tmp/cceQt7yU.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 340kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |