Pagini recente » Borderou de evaluare (job #2731683) | Borderou de evaluare (job #1593816) | Borderou de evaluare (job #1017158) | Borderou de evaluare (job #1684302) | Borderou de evaluare (job #1593490)
Borderou de evaluare (job #1593490)
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 | 68ms | 624kb | OK | 10 | 0 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 84ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 44ms | 580kb | OK | 10 |
| 5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 116ms | 468kb | Wall time limit exceeded. | 0 | 0 |
| 7 | 128ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 124ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 104ms | 424kb | Wall time limit exceeded. | 0 |
| 10 | 136ms | 672kb | Wall time limit exceeded. | 0 |
| Punctaj total | 0 |