Pagini recente » Borderou de evaluare (job #2769964) | Borderou de evaluare (job #1840720) | Borderou de evaluare (job #3162253) | Borderou de evaluare (job #2469197) | Borderou de evaluare (job #1593488)
Borderou de evaluare (job #1593488)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0)
^
user.cpp:32:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0)
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.out","w",stdout);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &data);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d/n", &data);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 36ms | Depăşit | Memory limit exceeded. | 0 | 0 |
2 | 0ms | 428kb | OK | 10 |
3 | 28ms | Depăşit | Memory limit exceeded. | 0 |
4 | 28ms | Depăşit | Memory limit exceeded. | 0 |
5 | 32ms | Depăşit | Memory limit exceeded. | 0 |
6 | 96ms | 596kb | Wall time limit exceeded. | 0 | 0 |
7 | 40ms | Depăşit | Memory limit exceeded. | 0 |
8 | 36ms | Depăşit | Memory limit exceeded. | 0 |
9 | 88ms | 420kb | Wall time limit exceeded. | 0 |
10 | 80ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |